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(docker): update .dockerignore to include client/.env file (#241)

Danny Avila91e9b167b346
diff --git a/.dockerignore b/.dockerignore
index 2ca2e86e87..709faa772d 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,2 +1,2 @@
**/node_modules
-**/.env
+api/.env
diff --git a/Dockerfile b/Dockerfile
index a2b7fe7865..ed27f808bb 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,7 @@
FROM node:19-alpine AS react-client
WORKDIR /client
# copy package.json into the container at /client
+COPY /client/.env /client/.env
COPY /client/package*.json /client/
# install dependencies
RUN npm ci