修改容器生成
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 6m16s

This commit is contained in:
2026-04-21 00:00:56 +08:00
parent 396d09882f
commit 8d4fc76a95
7 changed files with 1954 additions and 446 deletions

View File

@@ -29,6 +29,13 @@ ENV DEBUG=false
# =============================================================================
# 安装依赖
# =============================================================================
# 复制本地模型文件到镜像
COPY models/*.whl /tmp/models/
# 安装
RUN pip install --no-cache-dir /tmp/models/*.whl && \
rm -rf /tmp/models
# 设置 pip 国内镜像源
RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

Binary file not shown.

Binary file not shown.