fix env variables
Some checks failed
Main / build-and-push-docker-image (20.x) (push) Failing after 3m2s
Some checks failed
Main / build-and-push-docker-image (20.x) (push) Failing after 3m2s
This commit is contained in:
@@ -17,9 +17,9 @@ FROM node:20-alpine AS runner
|
||||
WORKDIR /app
|
||||
|
||||
# Set the environment variable for standalone output directory
|
||||
ENV NODE_ENV production
|
||||
ENV NODE_ENV=production
|
||||
# Next.js will copy the standalone files to /app/standalone/.next
|
||||
ENV NEXT_TELEMETRY_DISABLED 1
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
|
||||
COPY --from=builder /app/public ./public
|
||||
COPY --from=builder /app/.next/standalone ./
|
||||
|
||||
Reference in New Issue
Block a user