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:
Danny Avila 2023-06-17 11:38:48 -04:00 committed by GitHub
parent 9778e73087
commit f1f33de4db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 8 deletions

View file

@ -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