Skip to content

Commit

Permalink
build: variable assignment formatting fix
Browse files Browse the repository at this point in the history
ENV should always be ENV K=V
  • Loading branch information
TyIsI committed Sep 23, 2024
1 parent fd19016 commit c68fee0
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 @@ -22,7 +22,7 @@ FROM node:lts-alpine AS runner

WORKDIR /app

ENV NODE_ENV production
ENV NODE_ENV=production

RUN addgroup --system --gid 1001 nodejs && adduser --system --uid 1001 nextjs

Expand All @@ -36,6 +36,6 @@ USER nextjs

EXPOSE 3000

ENV PORT 3000
ENV PORT=3000

CMD ["node", "server.js"]

0 comments on commit c68fee0

Please sign in to comment.