From 1f476a2b7750883ff9f7d7afdd104c1f3a26a2c4 Mon Sep 17 00:00:00 2001 From: zavarin-michael Date: Fri, 23 Aug 2024 13:51:35 +0500 Subject: [PATCH] added NODE_OPTIONS to prod Dockerfile --- apps/schools/prod.Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/schools/prod.Dockerfile b/apps/schools/prod.Dockerfile index 1f20126f..a526c560 100644 --- a/apps/schools/prod.Dockerfile +++ b/apps/schools/prod.Dockerfile @@ -2,6 +2,7 @@ FROM node:18-alpine AS runner RUN node -v +ENV NODE_OPTIONS="--max-old-space-size=4096" ENV NODE_TLS_REJECT_UNAUTHORIZED=0 ENV NODE_ENV production ENV NEXT_TELEMETRY_DISABLED 1