luojunhui 1 ヶ月 前
コミット
baffaff65d
1 ファイル変更1 行追加2 行削除
  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 . .