mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-23 02:36:12 +01: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
|
|
@ -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 .
|
||||
# docker build -t node-api .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue