Skip to content

Commit

Permalink
explicit NODE_ENV in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario-SO committed Dec 19, 2024
1 parent 23fb23f commit 889a040
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/server/src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ COPY --from=builder /app/package.json /app/yarn.lock ./
COPY --from=builder /app/packages/server/package.json ./packages/server/
COPY --from=builder /app/packages/server/dist ./packages/server/dist

ENV NODE_ENV=production

# Install only production dependencies
RUN yarn install --frozen-lockfile --production

Expand Down

0 comments on commit 889a040

Please sign in to comment.