Skip to content

Commit

Permalink
Make sure only to install production deps
Browse files Browse the repository at this point in the history
  • Loading branch information
spaceo committed Nov 16, 2024
1 parent 638da33 commit 976aa2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lagoon/node.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM uselagoon/node-20-builder:latest as builder
COPY package.json /app/
RUN yarn
RUN yarn install --production

FROM uselagoon/node-20:latest
COPY --from=builder /app/node_modules /app/node_modules
Expand Down

0 comments on commit 976aa2a

Please sign in to comment.