Skip to content

Commit

Permalink
chore: Update Dockerfile environment variables using the = syntax i…
Browse files Browse the repository at this point in the history
…nstead of the space syntax.
  • Loading branch information
doerfli committed Aug 13, 2024
1 parent 9cf502b commit 7eb4991
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ COPY . .
# Next.js collects completely anonymous telemetry data about general usage.
# Learn more here: https://nextjs.org/telemetry
# Uncomment the following line in case you want to disable telemetry during the build.
ENV NEXT_TELEMETRY_DISABLED 1
ENV NEXT_TELEMETRY_DISABLED=1

COPY .env.$INSTANCE .env
RUN npm run build
Expand All @@ -32,7 +32,7 @@ FROM ${VARIANT} AS runner
ARG INSTANCE=production
WORKDIR /app

ENV NODE_ENV production
ENV NODE_ENV=production
# Uncomment the following line in case you want to disable telemetry during runtime.
# ENV NEXT_TELEMETRY_DISABLED 1

Expand All @@ -50,7 +50,7 @@ COPY .env.$INSTANCE .env

EXPOSE 3000

ENV PORT 3000
ENV HOSTNAME localhost
ENV PORT=3000
ENV HOSTNAME=localhost

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

0 comments on commit 7eb4991

Please sign in to comment.