Skip to content

Commit

Permalink
build(docker): default NODE_ENV to production
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mendez committed Mar 3, 2024
1 parent 2340af5 commit 5120242
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ RUN npm install --production
# final image
FROM node:20.6.1-alpine3.17

ARG NODE_ENV=production
ENV NODE_ENV $NODE_ENV

RUN apk upgrade --update-cache --available && \
apk add openssl

Expand Down

0 comments on commit 5120242

Please sign in to comment.