mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
fix(docker): update .dockerignore to include client/.env file (#241)
fix(docker): add COPY command to copy client/.env file into the container before building
This commit is contained in:
parent
53ea3dd9fb
commit
91e9b167b3
2 changed files with 2 additions and 1 deletions
|
|
@ -1,2 +1,2 @@
|
||||||
**/node_modules
|
**/node_modules
|
||||||
**/.env
|
api/.env
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
FROM node:19-alpine AS react-client
|
FROM node:19-alpine AS react-client
|
||||||
WORKDIR /client
|
WORKDIR /client
|
||||||
# copy package.json into the container at /client
|
# copy package.json into the container at /client
|
||||||
|
COPY /client/.env /client/.env
|
||||||
COPY /client/package*.json /client/
|
COPY /client/package*.json /client/
|
||||||
# install dependencies
|
# install dependencies
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue