From 60d352e4a7e24a57407b43ffd7cb4a936f3e9d15 Mon Sep 17 00:00:00 2001 From: "Ajeet Singh Raina, Docker Captain, ARM Innovator, RedisInc" Date: Tue, 15 Mar 2022 16:47:09 +0530 Subject: [PATCH] Update nginx-nodejs-redis/web/Dockerfile Co-authored-by: Guillaume Lours --- nginx-nodejs-redis/web/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"]