diff --git a/Dockerfile b/Dockerfile index d3fbc2e..4c196f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ FROM node:lts-alpine AS runner WORKDIR /app -ENV NODE_ENV production +ENV NODE_ENV=production RUN addgroup --system --gid 1001 nodejs && adduser --system --uid 1001 nextjs @@ -36,6 +36,6 @@ USER nextjs EXPOSE 3000 -ENV PORT 3000 +ENV PORT=3000 CMD ["node", "server.js"]