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

🐋 chore: Revise of PR #2157, move step earlier

Danny Avila3f77fe18b749
diff --git a/Dockerfile b/Dockerfile
index a63791a68e..0261767d07 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,8 @@
# Base node image
FROM node:18-alpine AS node
+RUN apk add g++ make py3-pip
+
RUN mkdir -p /app && chown node:node /app
WORKDIR /app
@@ -12,10 +14,8 @@ COPY --chown=node:node . .
# values.
RUN touch .env
RUN npm config set fetch-retry-maxtimeout 300000
-RUN apk add g++ make py3-pip
RUN npm install -g node-gyp
-
RUN apk --no-cache add curl && \
npm install --no-audit