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