Browse Source

Update Dockerfile

star7th 4 years ago
parent
commit
418b5ed937
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -15,4 +15,4 @@ RUN apk add --update nodejs nodejs-npm
 RUN mv /showdoc_data/html/mock/ /showdoc_data/mock
 RUN (cd /showdoc_data/mock/ && npm install )
 
-CMD if [ ! -f "/var/www/html/index.php" ]; then \cp -fr /showdoc_data/html/ /var/www/ ;fi;chmod 777 -R /var/www/ ;(sleep 60 && cd /showdoc_data/mock/ && npm run start) & supervisord
+CMD if [ ! -f "/var/www/html/index.php" ]; then \cp -fr /showdoc_data/html/ /var/www/ ;fi;chmod 777 -R /var/www/ ;(sleep 30 && cd /showdoc_data/mock/ && npm run start) & supervisord