From d85c78c19dc4e7bc83d0a85f2889124f8609723b Mon Sep 17 00:00:00 2001 From: Greg Date: Mon, 18 Aug 2025 00:45:20 +0200 Subject: [PATCH] Reduce memory allocation for builds on low-memory servers --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1764fc3..1cf29ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN npm install && npm cache clean --force # Build frontend COPY . . ENV NODE_ENV=production -ENV NODE_OPTIONS=--max-old-space-size=512 +ENV NODE_OPTIONS=--max-old-space-size=256 RUN npm run build # ---- Runtime (Node.js server with static files) ----