From 7f5f481cea8fdf12604fd470b7417ed83eeb5a28 Mon Sep 17 00:00:00 2001 From: 1ilit <1ilit@proton.me> Date: Fri, 14 Mar 2025 22:06:26 +0400 Subject: [PATCH] Increase heap size (#363) --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 9365ee1..ee2b305 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ WORKDIR /app COPY package*.json ./ RUN npm ci COPY . . +ENV NODE_OPTIONS="--max-old-space-size=4096" RUN npm run build # Stage 2: Setup the Nginx Server to serve the app