refactor: update NODE_ENV handling in Dockerfile and docker-compose.yml for better environment configuration

This commit is contained in:
2025-09-28 14:30:00 +03:30
parent 6f35ee3c10
commit fe9d9a4500
3 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ FROM node:22-alpine AS runner
WORKDIR /app
# Set environment variables
ENV NODE_ENV production
ENV NODE_ENV $NODE_ENV
ENV NEXT_TELEMETRY_DISABLED 1
# Add a non-root user for security