We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fdc339 commit ac58e39Copy full SHA for ac58e39
1 file changed
Dockerfile
@@ -41,6 +41,9 @@ COPY package*.json ./
41
# Install only production dependencies
42
RUN npm ci --omit=dev && npm cache clean --force
43
44
+# Set NODE_ENV explicitly
45
+ENV NODE_ENV=production
46
+
47
# Copy built application from builder stage
48
COPY --from=builder --chown=nodeuser:nodejs /app/dist ./dist
49
COPY --from=builder --chown=nodeuser:nodejs /app/public ./public
0 commit comments