Skip to content

Commit

Permalink
chore(dockerfile): set node_env to production
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvitt committed Oct 30, 2024
1 parent 88d9a39 commit ad7e0af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ COPY --from=build /usr/src/app/node_modules node_modules
RUN rm -rf node_modules/.cache
RUN pnpm prune

# Set Node.js environment to production
ENV NODE_ENV=production

# Kompilierte Anwendung aus dem Build-Stage kopieren
COPY --from=build /usr/src/app/dist ./dist

Expand Down

0 comments on commit ad7e0af

Please sign in to comment.