|
|
@@ -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
|