diff --git a/.dockerignore b/.dockerignore index 27a52530f1..0f03be5885 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,5 @@ **/node_modules client/dist/images data-node +.env +**/.env \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 232bff081a..e4db35f91f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/client/src/components/Endpoints/EditPresetDialog.jsx b/client/src/components/Endpoints/EditPresetDialog.jsx index 7e02c321c6..8ec437ba91 100644 --- a/client/src/components/Endpoints/EditPresetDialog.jsx +++ b/client/src/components/Endpoints/EditPresetDialog.jsx @@ -238,7 +238,7 @@ const EditPresetDialog = ({ open, onOpenChange, preset: _preset, title }) => { )} {preset?.endpoint === 'gptPlugins' && showAgentSettings && (
- + - +