diff --git a/Dockerfile b/Dockerfile index 5619c2e6..18bbcc22 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,5 @@ RUN chmod +x /usr/local/bin/wp COPY *.sh / -RUN /post_launch.sh - -RUN /watch_source_files.sh +CMD /post_launch.sh diff --git a/post_launch.sh b/post_launch.sh index 6c8a4422..b1c336da 100755 --- a/post_launch.sh +++ b/post_launch.sh @@ -33,3 +33,5 @@ wp --allow-root plugin activate wordpress-static-html-output # OPTIONAL: run log apache errors #tail -f /var/log/apache2/error.log + +/bin/bash /watch_source_files.sh