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

🐳 hotfix: Necessary Dockerfile Update (#2271)

Danny Avila8b3f80fe24c5
diff --git a/.husky/pre-commit b/.husky/pre-commit
index 3d79821bb5..67f5b00272 100755
--- a/.husky/pre-commit
+++ b/.husky/pre-commit
@@ -1,4 +1,3 @@
-# v0.7.0
#!/usr/bin/env sh
set -e
. "$(dirname -- "$0")/_/husky.sh"
diff --git a/Dockerfile b/Dockerfile
index 31350bc6e1..d511fa58e8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
# v0.7.0
# Base node image
-FROM node:18-alpine AS node
+FROM node:18-alpine3.18 AS node
RUN apk add g++ make py3-pip
RUN npm install -g node-gyp
@@ -17,7 +17,9 @@ COPY --chown=node:node . .
# Allow mounting of these files, which have no default
# values.
RUN touch .env
-RUN npm config set fetch-retry-maxtimeout 300000
+RUN npm config set fetch-retry-maxtimeout 600000
+RUN npm config set fetch-retries 5
+RUN npm config set fetch-retry-mintimeout 15000
RUN npm install --no-audit
# React client build