update deploy.yaml

This commit is contained in:
Mehdi Mehrmanesh
2025-10-11 17:36:23 +03:30
parent 89bf2fe70c
commit aab0151944
+2 -2
View File
@@ -31,8 +31,7 @@ COPY --from=deps /app/node_modules ./node_modules
COPY . .
# Build پروژه Next.js
RUN npm run build
RUN NEXT_TELEMETRY_DISABLED=1 npm run build -- --no-lint || true
# ------------------------
# Runner stage (production)
@@ -57,6 +56,7 @@ COPY --from=builder --chown=appuser:appgroup /build/package.json ./package.json
USER appuser
# expose port
EXPOSE 3000
CMD ["node", "server.js"]