Skip to content

Commit 02571d6

Browse files
committed
Remove copied files from Docker build step
1 parent 2c54262 commit 02571d6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ ENV NODE_ENV=production
2222
COPY package-lock.json ./
2323
COPY package.json ./
2424
RUN --mount=type=cache,target=/root/.npm npm ci
25+
RUN rm package.json package-lock.json
2526

2627
FROM base as app
2728

0 commit comments

Comments
 (0)