项目引用修改
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 6m55s

This commit is contained in:
2026-04-20 23:11:07 +08:00
parent ff921c813a
commit 396d09882f
2 changed files with 6 additions and 1 deletions

View File

@@ -29,8 +29,12 @@ ENV DEBUG=false
# =============================================================================
# 安装依赖
# =============================================================================
# 设置 pip 国内镜像源
RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
# 复制 requirement 并安装(增加超时时间)
COPY requirement.txt .
RUN pip install --no-cache-dir -r requirement.txt
RUN pip install --no-cache-dir --default-timeout=300 -r requirement.txt
# =============================================================================
# 预下载 spaCy 语言模型(避免容器启动时重复下载)

View File

@@ -35,6 +35,7 @@ aiohttp==3.13.5
tenacity==9.1.4
rich==15.0.0
PyYAML==6.0.3
numpy>=1.26.2
# Document Processing
unstructured==0.22.21