Explorar el Código

change node version

Dotos hace 9 años
padre
commit
900b55f6aa
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      Dockerfile

+ 3 - 1
Dockerfile

@@ -5,7 +5,9 @@ WORKDIR /usr/src/app
 COPY package.json /usr/src/app/
 
 # RUN npm i -g forever
-RUN npm install
+RUN npm i
+RUN npm update -g npm
+
 COPY . /usr/src/app
 
 ENV PORT 80