star7th 4 years ago
parent
commit
2d291a64e0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -12,4 +12,4 @@ RUN cp -R /var/www/html/ /showdoc_data/
 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 /showdoc_data ;(sleep 60 && cd /showdoc_data/mock/ && npm run start) & /start.sh
+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) & /start.sh