Explorar o código

change node version

Dotos %!s(int64=9) %!d(string=hai) anos
pai
achega
900b55f6aa
Modificáronse 1 ficheiros con 3 adicións e 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