From 2e1acaf9ca505899fd9b6fe017cb75c05c5cdb8a Mon Sep 17 00:00:00 2001 From: Matthieu Benoist <mbenoist@ausy-group.com> Date: Fri, 27 Nov 2020 14:16:36 +0100 Subject: [PATCH] Add package lock to builder --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 25cf6f6..a4c1d81 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ FROM node:14.15.1 as builder # Copy the package.json file first in order to cache the modules COPY ./package.json /app/package.json +COPY ./package-lock.json /app/package-lock.json WORKDIR /app # Install npm dependencies RUN npm install -- GitLab