chore: update Dockerfile to define PORT environment variable as 3003
This commit is contained in:
@@ -16,7 +16,7 @@ RUN apk add --no-cache dumb-init
|
||||
RUN addgroup --system --gid 1001 nodejs && adduser --system --uid 1001 nextjs
|
||||
COPY --from=builder /app/.next/standalone ./
|
||||
COPY --from=builder /app/.next/static ./.next/static
|
||||
ENV NODE_ENV=production HOSTNAME=0.0.0.0
|
||||
ENV NODE_ENV=production HOSTNAME=0.0.0.0 PORT=3003
|
||||
EXPOSE 3003
|
||||
USER nextjs
|
||||
ENTRYPOINT ["dumb-init", "--"]
|
||||
|
||||
Reference in New Issue
Block a user