mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 06:00:56 +02:00
Use npm ci rather than install to be consistent with lock file
This commit is contained in:
parent
9358a4fdb5
commit
0a12b47760
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue