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