Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -21,9 +21,8 @@ WORKDIR $APP_HOME
|
|
21 |
|
22 |
# 设置虚拟环境和安装Python依赖
|
23 |
RUN python3 -m venv $VIRTUAL_ENV && \
|
24 |
-
|
25 |
-
pip install --no-cache-dir
|
26 |
-
pip install --no-cache-dir huggingface_hub
|
27 |
|
28 |
# 下载并解压 OpenList
|
29 |
RUN wget -q https://github.com/OpenListTeam/OpenList/releases/download/beta/openlist-linux-amd64.tar.gz && \
|
|
|
21 |
|
22 |
# 设置虚拟环境和安装Python依赖
|
23 |
RUN python3 -m venv $VIRTUAL_ENV && \
|
24 |
+
$VIRTUAL_ENV/bin/pip install --no-cache-dir --upgrade pip setuptools wheel && \
|
25 |
+
$VIRTUAL_ENV/bin/pip install --no-cache-dir huggingface_hub
|
|
|
26 |
|
27 |
# 下载并解压 OpenList
|
28 |
RUN wget -q https://github.com/OpenListTeam/OpenList/releases/download/beta/openlist-linux-amd64.tar.gz && \
|