Skip to content

Commit b7407e3

Browse files
author
Ronaldo Macapobre
committed
Add step to copy both package.json and package-lock.json
1 parent e325031 commit b7407e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker/aws/Dockerfile.release

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ FROM node:${NODE_VERSION} AS build
55

66
# Copy package.json to install dependencies once
77
WORKDIR /app
8-
COPY /package.json .
8+
9+
# Copy package.json and package-lock.json
10+
COPY ${WEB_SRC}/package*.json .
911

1012
RUN npm ci --ignore-scripts
1113

0 commit comments

Comments
 (0)