Add USER root directive to Dockerfile

This commit is contained in:
shamoon
2025-11-06 10:04:55 -08:00
parent 3ef7031eb0
commit 40e811c21c

View File

@@ -51,6 +51,8 @@ COPY --link --from=builder --chown=1000:1000 /app/.next/static/ ./.next/static
RUN apk add --no-cache su-exec iputils-ping shadow
USER root
ENV NODE_ENV=production
ENV HOSTNAME=0.0.0.0
ENV PORT=3000