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