From 7e7f7c739739fcadc728e76780c8a43c87e02b17 Mon Sep 17 00:00:00 2001 From: KarimTamani Date: Sun, 29 Mar 2026 16:08:59 +0100 Subject: [PATCH] Increase Node memory to prevent out-of-memory errors during build --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index e0363f1..70daa6f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,10 @@ RUN npm config set strict-ssl false && npm install # Copy source files COPY . . +# Increase Node memory to prevent out-of-memory errors during build +ENV NODE_OPTIONS=--max-old-space-size=4096 + + # Build the application RUN npm run build