Skip to content

Commit

Permalink
fix: use stage as default NODE_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
rschlaefli committed Sep 20, 2023
1 parent d7be55d commit dc4bc90
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 @@ -14,7 +14,7 @@ WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .

ARG NODE_ENV production
ARG NODE_ENV stage
# 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.
Expand All @@ -29,7 +29,7 @@ RUN npm run build
FROM node:18.12.0-alpine AS runner
WORKDIR /app

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

Expand Down

0 comments on commit dc4bc90

Please sign in to comment.