소스 검색

Update Dockerfile

star7th 4 년 전
부모
커밋
418b5ed937
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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