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
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
🐳 feat: Add Jemalloc and UV to Docker Builds (#6836)
Danny Avila1e6b1b955460
diff --git a/Dockerfile b/Dockerfileindex d9113eb650..e16b18a5d4 100644--- a/Dockerfile+++ b/Dockerfile@@ -3,7 +3,15 @@# Base node imageFROM node:20-alpine AS node-RUN apk --no-cache add curl+# Install jemalloc+RUN apk add --no-cache jemalloc++# Set environment variable to use jemalloc+ENV LD_PRELOAD=/usr/lib/libjemalloc.so.2++# Add `uv` for extended MCP support+COPY --from=ghcr.io/astral-sh/uv:0.6.13 /uv /uvx /bin/+RUN uv --versionRUN mkdir -p /app && chown node:node /appWORKDIR /app@@ -38,4 +46,4 @@ CMD ["npm", "run", "backend"]# WORKDIR /usr/share/nginx/html# COPY --from=node /app/client/dist /usr/share/nginx/html# COPY client/nginx.conf /etc/nginx/conf.d/default.conf-# ENTRYPOINT ["nginx", "-g", "daemon off;"]+# ENTRYPOINT ["nginx", "-g", "daemon off;"]\ No newline at end of filediff --git a/Dockerfile.multi b/Dockerfile.multiindex 40721137bb..594ead8b03 100644--- a/Dockerfile.multi+++ b/Dockerfile.multi@@ -3,6 +3,10 @@# Base for all buildsFROM node:20-alpine AS base-min+# Install jemalloc+RUN apk add --no-cache jemalloc+# Set environment variable to use jemalloc+ENV LD_PRELOAD=/usr/lib/libjemalloc.so.2WORKDIR /appRUN apk --no-cache add curlRUN npm config set fetch-retry-maxtimeout 600000 && \@@ -50,6 +54,9 @@ RUN npm run build# API setup (including client dist)FROM base-min AS api-build+# Add `uv` for extended MCP support+COPY --from=ghcr.io/astral-sh/uv:0.6.13 /uv /uvx /bin/+RUN uv --versionWORKDIR /app# Install only production depsRUN npm ci --omit=dev