diff --git a/Dockerfile b/Dockerfile index 47bc66b..91784c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,8 +14,8 @@ WORKDIR /app COPY --from=deps /app/node_modules ./node_modules COPY . . -ENV NEXT_PUBLIC_GTM_ID "" -ENV NEXT_TELEMETRY_DISABLED 1 +ENV NEXT_PUBLIC_GTM_ID="" +ENV NEXT_TELEMETRY_DISABLED=1 RUN npm run build @@ -23,8 +23,8 @@ FROM $NODEJS_IMAGE AS runner WORKDIR /app ENV NODE_OPTIONS="--max-http-header-size=81920" -ENV NODE_ENV production -ENV NEXT_TELEMETRY_DISABLED 1 +ENV NODE_ENV=production +ENV NEXT_TELEMETRY_DISABLED=1 RUN addgroup --system --gid 1001 nodejs @@ -41,6 +41,6 @@ USER nextjs EXPOSE 4000 -ENV PORT 4000 +ENV PORT=4000 CMD ["node", "server.js"] \ No newline at end of file