Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -13,8 +13,10 @@ RUN apt-get update && \
|
|
| 13 |
rm -rf /var/lib/apt/lists/*
|
| 14 |
|
| 15 |
# 安装huggingface_hub
|
| 16 |
-
RUN
|
| 17 |
-
|
|
|
|
|
|
|
| 18 |
# 设置工作目录
|
| 19 |
WORKDIR /OpenList
|
| 20 |
|
|
|
|
| 13 |
rm -rf /var/lib/apt/lists/*
|
| 14 |
|
| 15 |
# 安装huggingface_hub
|
| 16 |
+
RUN python3 -m venv $VIRTUAL_ENV; \
|
| 17 |
+
pip install --no-cache-dir --upgrade pip setuptools wheel; \
|
| 18 |
+
pip install --no-cache-dir huggingface_hub;
|
| 19 |
+
|
| 20 |
# 设置工作目录
|
| 21 |
WORKDIR /OpenList
|
| 22 |
|