Bläddra i källkod

Update Dockerfile

star7th 5 år sedan
förälder
incheckning
06a2e0d902
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -9,6 +9,6 @@ RUN chmod -R 777 /var/www/html/
 RUN mkdir /showdoc_data
 RUN mkdir /showdoc_data
 RUN mkdir /showdoc_data/html
 RUN mkdir /showdoc_data/html
 RUN cp -R /var/www/html/ /showdoc_data/
 RUN cp -R /var/www/html/ /showdoc_data/
-RUN apk add nodejs
+RUN apk add --update nodejs nodejs-npm
 RUN (cd /showdoc_data/html/mock/ && npm install )
 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);supervisord
 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);supervisord