From 20fd832216bf3be86053ff9dc9076e86f66b164c Mon Sep 17 00:00:00 2001 From: Chris Ward Date: Fri, 1 Apr 2022 13:13:02 -0700 Subject: [PATCH] fix(docker): also copy package-lock.json before install (#461) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 25d0cc02..b12637a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ ENV MONGODB_URI mongodb://localhost/5e-database ## Add code WORKDIR /data/db2 -COPY --chown=mongodb:mongodb package.json /data/db2/ +COPY --chown=mongodb:mongodb package.json package-lock.json /data/db2/ RUN npm install COPY --chown=mongodb:mongodb . /data/db2/