luojunhui 1 tháng trước cách đây
mục cha
commit
fc8be8c189
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      Dockerfile

+ 3 - 3
Dockerfile

@@ -9,9 +9,9 @@ ENV TZ=Asia/Shanghai
 
 RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone \
 
-#COPY ./requirements.txt /app/requirements.txt
-#
-#RUN pip install --no-cache-dir -r /app/requirements.txt -i https://mirrors.aliyun.com/pypi/simple
+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
 
 COPY . .