CMD vs RUN to search mysql cotnainer

Former-commit-id: 3e0d2be41f
This commit is contained in:
Leon 2017-03-23 17:13:38 +13:00
parent d0e96bc64f
commit 791324fa19
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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