diff --git a/publish_on_pages.sh b/publish_on_pages.sh
index bb2988d30fe9b940a064157cbb8c8b10e1a11bf8..f05dbe4ffa98947ce37ad9b4babb60c7b5358742 100644
--- a/publish_on_pages.sh
+++ b/publish_on_pages.sh
@@ -33,7 +33,7 @@ elif [ $6 == 'false' ]; then
 	mkdir -p "public/$4"
     ls public/
 	cp -r -f "$7_$4.docx" public/$4
-    docker run --rm -v $(pwd):/tmp -w /tmp "$DOCKER_IMAGE" pip install bs4 && python3 $1 "$7_$4" "$4/$7_$4.docx" "$5"
+    docker run --rm -v $(pwd):/tmp -w /tmp "$DOCKER_IMAGE" /bin/bash -c 'pip install bs4; python3 $1 "$7_$4" "$4/$7_$4.docx" "$5"'
 else
     echo 'Removing entry for ' $6
     rm -r -f public/$6