Fix: Increase Node.js memory limit to 4GB to prevent OOM

This commit is contained in:
rewa81 committed 2025-12-08 19:19:30 +01:00
1 parent 020ed58842
commit ea7582d6f3
1 file changed
+2
+2
View File
@@ -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