From 7d9baa8ad64bb14c4054774fc0b55a9b6179b2c2 Mon Sep 17 00:00:00 2001 From: Emmanuel Gautier Date: Sun, 8 Dec 2024 21:05:22 +0100 Subject: [PATCH] chore: update legacy env variable naming --- next/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/next/Dockerfile b/next/Dockerfile index a52c473..81bb03f 100644 --- a/next/Dockerfile +++ b/next/Dockerfile @@ -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 @@ -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