From 0f2f055a57355c9fbc6de1164e26de4bdcfc91a1 Mon Sep 17 00:00:00 2001 From: Markus Thielker Date: Sun, 9 Mar 2025 05:28:36 +0100 Subject: [PATCH] N-FIN-90: replace legacy ENV format --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 859b559..acb138b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,7 @@ COPY prisma/ ./prisma/ RUN bunx prisma generate -ENV NEXT_TELEMETRY_DISABLED 1 +ENV NEXT_TELEMETRY_DISABLED=1 RUN bun run build @@ -33,8 +33,8 @@ RUN bun run build FROM base AS runner WORKDIR /app -ENV NODE_ENV production -ENV NEXT_TELEMETRY_DISABLED 1 +ENV NODE_ENV=production +ENV NEXT_TELEMETRY_DISABLED=1 RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs @@ -52,7 +52,7 @@ USER nextjs EXPOSE 3000 -ENV PORT 3000 -ENV HOSTNAME "0.0.0.0" +ENV PORT=3000 +ENV HOSTNAME="0.0.0.0" CMD ["node", "server.js"]