HuggingFace0920 commited on
Commit
fee259d
·
verified ·
1 Parent(s): b71edd4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 pip3 install --no-cache-dir huggingface_hub
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