|
@@ -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 . .
|
|
|
|