Skip to content

Commit

Permalink
Include dev dependencies in the build stage of the prod image
Browse files Browse the repository at this point in the history
  • Loading branch information
valtterikantanen committed Nov 18, 2024
1 parent 65ad1a4 commit cbfa0d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ WORKDIR /opt/app-root/src
COPY package*.json ./
COPY tsconfig.json ./

RUN npm ci
RUN npm ci --include=dev

COPY src ./src

Expand Down

0 comments on commit cbfa0d9

Please sign in to comment.