We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 374409a commit 7e2bb3aCopy full SHA for 7e2bb3a
docker/Dockerfile.prod
@@ -56,16 +56,6 @@ RUN pnpm --filter inbox-zero-ai exec -- prisma generate
56
# Build the Next.js application
57
RUN pnpm --filter inbox-zero-ai exec -- next build
58
59
-# Create non-root user for security
60
-# Running as root during build, create user for runtime
61
-RUN addgroup --system --gid 1001 nodejs
62
-RUN adduser --system --uid 1001 nextjs
63
-
64
-# No need to copy files, already present
65
66
-# Switch to non-root user for runtime
67
-USER nextjs
68
69
# Expose port 3000
70
EXPOSE 3000
71
0 commit comments