ted1990 commited on
Commit
25535d1
·
verified ·
1 Parent(s): e485e52

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -17,8 +17,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
17
  ca-certificates \
18
  && rm -rf /var/lib/apt/lists/*
19
 
20
- # 2. 安装 Hugging Face 命令行工具(不使用 --break-system-packages,兼容 Debian
21
- RUN pip3 install --no-cache-dir huggingface_hub
22
 
23
  # 3. 构建环境优化(仅更新证书,不修改 Git 不安全配置)
24
  RUN update-ca-certificates
 
17
  ca-certificates \
18
  && rm -rf /var/lib/apt/lists/*
19
 
20
+ # 2. 安装 Hugging Face 命令行工具(允许覆盖外部管理环境
21
+ RUN pip3 install --no-cache-dir huggingface_hub --break-system-packages
22
 
23
  # 3. 构建环境优化(仅更新证书,不修改 Git 不安全配置)
24
  RUN update-ca-certificates