Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

fix: vite build issue: set memory limit for Node.js to 2048 MB

Daniel Avila942a85f53179
diff --git a/Dockerfile b/Dockerfile
index ff1163c12f..8188236a02 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,6 +6,8 @@ COPY /client/package*.json /client/
RUN npm ci
# Copy the current directory contents into the container at /client
COPY /client/ /client/
+# Set the memory limit for Node.js
+ENV NODE_OPTIONS="--max-old-space-size=2048"
# Build webpack artifacts
RUN npm run build