From 45ac75293847e9fe9a8b0b0b74f1eae1e9357e67 Mon Sep 17 00:00:00 2001 From: XIE7654 <765462425@qq.com> Date: Sat, 19 Jul 2025 10:46:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ai_service/requirements.txt | 3 ++- web/Dockerfile | 5 +++-- web/apps/web-antd/.env.production | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ai_service/requirements.txt b/ai_service/requirements.txt index e550d78..9c91dc4 100644 --- a/ai_service/requirements.txt +++ b/ai_service/requirements.txt @@ -5,4 +5,5 @@ langchain-deepseek==0.1.3 langchain==0.3.26 langchain-community==0.3.26 PyMySQL==1.1.1 -SQLAlchemy==2.0.41 \ No newline at end of file +SQLAlchemy==2.0.41 +gunicorn==23.0.0 \ No newline at end of file diff --git a/web/Dockerfile b/web/Dockerfile index b275b3f..42fa1d7 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -9,12 +9,13 @@ ENV CI=true RUN corepack enable && corepack prepare pnpm@10.10.0 --activate -COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./ +COPY . . + +#COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./ RUN pnpm install --frozen-lockfile # 拷贝项目 -COPY . . #RUN pnpm i diff --git a/web/apps/web-antd/.env.production b/web/apps/web-antd/.env.production index 599cb95..40caa0f 100644 --- a/web/apps/web-antd/.env.production +++ b/web/apps/web-antd/.env.production @@ -1,7 +1,7 @@ VITE_BASE=/ # 接口地址 -VITE_GLOB_API_URL=/api +VITE_GLOB_API_URL=/api/admin # 是否开启压缩,可以设置为 none, brotli, gzip VITE_COMPRESS=gzip