Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -14,7 +14,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 14 |
# 只下载 safetensors 等核心文件,排除大文件避免镜像过大(如果需要)
|
| 15 |
RUN pip install huggingface_hub
|
| 16 |
RUN huggingface-cli download --resume-download BAAI/bge-m3 --local-dir /app/models/bge-m3
|
| 17 |
-
RUN huggingface-cli download --resume-download BAAI/bge-reranker-
|
| 18 |
|
| 19 |
# 4. 复制其余代码
|
| 20 |
COPY . .
|
|
|
|
| 14 |
# 只下载 safetensors 等核心文件,排除大文件避免镜像过大(如果需要)
|
| 15 |
RUN pip install huggingface_hub
|
| 16 |
RUN huggingface-cli download --resume-download BAAI/bge-m3 --local-dir /app/models/bge-m3
|
| 17 |
+
RUN huggingface-cli download --resume-download BAAI/bge-reranker-base --local-dir /app/models/bge-reranker
|
| 18 |
|
| 19 |
# 4. 复制其余代码
|
| 20 |
COPY . .
|