Skip to content

Commit

Permalink
chore: update legacy env variable naming
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelgautier committed Dec 8, 2024
1 parent 1f87ef3 commit 7d9baa8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions next/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ FROM node:lts-alpine

WORKDIR /app

ENV NODE_ENV production
ENV NODE_ENV=production

RUN addgroup --system --gid 1001 nodejs && \
adduser --system --uid 1001 nextjs
Expand All @@ -33,8 +33,8 @@ USER nextjs

EXPOSE 3000

ENV PORT 3000
ENV HOSTNAME "0.0.0.0"
ENV PORT=3000
ENV HOSTNAME="0.0.0.0"

# server.js is created by next build from the standalone output
# https://nextjs.org/docs/pages/api-reference/next-config-js/output
Expand Down

0 comments on commit 7d9baa8

Please sign in to comment.