diff --git a/nginx-nodejs-redis/web/Dockerfile b/nginx-nodejs-redis/web/Dockerfile index e0d580c..3d1b21f 100644 --- a/nginx-nodejs-redis/web/Dockerfile +++ b/nginx-nodejs-redis/web/Dockerfile @@ -2,8 +2,8 @@ FROM node:14.17.3-alpine3.14 WORKDIR /usr/src/app -COPY ./package.json ./ -RUN npm install +COPY package.json package-lock.json ./ +RUN npm ci COPY ./server.js ./ CMD ["npm","start"]