mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
chore: Update docker, Minor Styling fix (#528)
* chore(docker): add .env and **/.env to .dockerignore refactor(docker): remove unnecessary .env file copy and removal in Dockerfile * style(AgentSettings): adjust Switch placement fix(EditPresetDialog): correctly show functions setting in preset
This commit is contained in:
parent
9778e73087
commit
f1f33de4db
4 changed files with 5 additions and 8 deletions
|
|
@ -1,8 +1,6 @@
|
|||
# Base node image
|
||||
FROM node:19-alpine AS node
|
||||
COPY . /app
|
||||
# Copy .env file
|
||||
COPY .env .env
|
||||
# Install dependencies
|
||||
WORKDIR /app
|
||||
RUN npm ci
|
||||
|
|
@ -11,9 +9,6 @@ RUN npm ci
|
|||
ENV NODE_OPTIONS="--max-old-space-size=2048"
|
||||
RUN npm run frontend
|
||||
|
||||
# Remove .env file after build
|
||||
RUN rm .env
|
||||
|
||||
# Node API setup
|
||||
EXPOSE 3080
|
||||
ENV HOST=0.0.0.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue