From ea7582d6f3e5b10f43d6c52e2309b3466b497d82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Walther?= Date: Mon, 8 Dec 2025 19:19:30 +0100 Subject: [PATCH] Fix: Increase Node.js memory limit to 4GB to prevent OOM --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index e25cd04..e60e994 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,8 @@ COPY wiki-src/ . # Build the application # VuePress build command usually outputs to .vuepress/dist +# Increase Node.js memory limit to prevent heap out of memory errors +ENV NODE_OPTIONS="--max-old-space-size=4096" RUN npm run build # Stage 2: Serve the application with Nginx