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

Use npm ci rather than install to be consistent with lock file

Hyunggyu Jang0a12b4776081
diff --git a/README.md b/README.md
index 10b6b4b1c9..93315d744c 100644
--- a/README.md
+++ b/README.md
@@ -182,7 +182,7 @@ Here are my recently completed and planned features:
- If using MongoDB Atlas, remove `&w=majority` from default connection string.
### Local
-- **Run npm** install in both the api and client directories
+- **Run npm** ci in both the api and client directories
- **Provide** all credentials, (API keys, access tokens, and Mongo Connection String) in api/.env [(see .env example)](api/.env.example)
- **Run** `npm run build` in /client/ dir, `npm start` in /api/ dir
- **Visit** http://localhost:3080 (default port) & enjoy
diff --git a/api/Dockerfile b/api/Dockerfile
index b861217beb..d417bf1ec4 100644
--- a/api/Dockerfile
+++ b/api/Dockerfile
@@ -3,7 +3,7 @@ WORKDIR /api
# copy package.json into the container at /api
COPY package*.json /api/
# install dependencies
-RUN npm install
+RUN npm ci
# Copy the current directory contents into the container at /api
COPY . /api/
# Make port 3080 available to the world outside this container
@@ -13,4 +13,4 @@ ENV HOST=0.0.0.0
# Run the app when the container launches
CMD ["npm", "start"]
-# docker build -t node-api .
\ No newline at end of file
+# docker build -t node-api .
diff --git a/client/Dockerfile b/client/Dockerfile
index 261ec0c71f..59148137a4 100644
--- a/client/Dockerfile
+++ b/client/Dockerfile
@@ -4,7 +4,7 @@ WORKDIR /client
# copy package.json into the container at /client
COPY package*.json /client/
# install dependencies
-RUN npm install
+RUN npm ci
# Copy the current directory contents into the container at /client
COPY . /client/
# Build webpack artifacts