Browse Source

Update Dockerfile

star7th 5 years ago
parent
commit
681e130aa3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -11,4 +11,4 @@ RUN mkdir /showdoc_data/html
 RUN cp -R /var/www/html/ /showdoc_data/
 RUN apk add nodejs
 RUN (cd /showdoc_data/html/mock/ && npm install )
-CMD if [ ! -f "/var/www/html/index.php" ]; then \cp -fr /showdoc_data/html/ /var/www/ ;fi;chmod 777 -R /showdoc_data ;(cd /showdoc_data/html/mock/ && npm run start);exec /usr/bin/supervisord -n -c /etc/supervisord.conf
+CMD if [ ! -f "/var/www/html/index.php" ]; then \cp -fr /showdoc_data/html/ /var/www/ ;fi;chmod 777 -R /showdoc_data ;(cd /showdoc_data/html/mock/ && npm run start);/start.sh