This commit is contained in:
@@ -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 .
|
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 语言模型(避免容器启动时重复下载)
|
# 预下载 spaCy 语言模型(避免容器启动时重复下载)
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ aiohttp==3.13.5
|
|||||||
tenacity==9.1.4
|
tenacity==9.1.4
|
||||||
rich==15.0.0
|
rich==15.0.0
|
||||||
PyYAML==6.0.3
|
PyYAML==6.0.3
|
||||||
|
numpy>=1.26.2
|
||||||
|
|
||||||
# Document Processing
|
# Document Processing
|
||||||
unstructured==0.22.21
|
unstructured==0.22.21
|
||||||
|
|||||||
Reference in New Issue
Block a user