HuggingFace0920 commited on
Commit
3af2bb0
·
verified ·
1 Parent(s): f6ec09c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -21,9 +21,8 @@ WORKDIR $APP_HOME
21
 
22
  # 设置虚拟环境和安装Python依赖
23
  RUN python3 -m venv $VIRTUAL_ENV && \
24
- . $VIRTUAL_ENV/bin/activate && \
25
- pip install --no-cache-dir --upgrade pip setuptools wheel && \
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 && \