Bind Next.js to 0.0.0.0 in container

This commit is contained in:
2026-06-27 17:44:30 -05:00
parent 61b7540508
commit 3294471a94
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -18,6 +18,7 @@ FROM base AS runner
WORKDIR /app
ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1
ENV HOSTNAME=0.0.0.0
ENV PORT=3000
RUN addgroup --system --gid 1001 nodejs && adduser --system --uid 1001 nextjs