luojunhui 1 kuukausi sitten
vanhempi
commit
baffaff65d
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  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 \
 RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone \
 
 
 COPY requirements.txt .
 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 . .
 COPY . .