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

webpack artifacts should exist for nginx image

Hyunggyu Jang72ef76b8a00f
diff --git a/client/Dockerfile b/client/Dockerfile
index d50597cbf6..261ec0c71f 100644
--- a/client/Dockerfile
+++ b/client/Dockerfile
@@ -7,8 +7,8 @@ COPY package*.json /client/
RUN npm install
# Copy the current directory contents into the container at /client
COPY . /client/
-# Run the app when the container launches
-CMD ["npm", "run", "build"]
+# Build webpack artifacts
+RUN npm run build
# Stage 2
FROM nginx:stable-alpine