Skip to content

Commit

Permalink
Use correct format for declaring env vars in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rudokemper authored Nov 25, 2024
1 parent 5ad90ff commit b935d14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ RUN npm ci --omit=dev
# --------------> The production image__
FROM node:${NODE_VERSION}-bullseye-slim

ENV NODE_ENV production
ENV PORT 8080
ENV NODE_ENV=production
ENV PORT=8080
EXPOSE 8080
COPY --from=build /usr/bin/dumb-init /usr/bin/dumb-init
USER node
Expand Down

0 comments on commit b935d14

Please sign in to comment.