luojunhui 2 days ago
parent
commit
baffaff65d
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Dockerfile

+ 1 - 2
Dockerfile

@@ -10,8 +10,7 @@ ENV TZ=Asia/Shanghai
 RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone \
 
 COPY requirements.txt .
-RUN pip install --no-cache-dir -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple \
-    && pip install --no-cache-dir --upgrade pillow
+RUN pip install --no-cache-dir --upgrade pillow
 
 COPY . .