star7th 5 lat temu
rodzic
commit
4475d38ad7
1 zmienionych plików z 1 dodań i 1 usunięć
  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 --update nodejs nodejs-npm
 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) & /start.sh
+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/html/mock/ && npm run start) & /start.sh