From 176a41a58d96924ccc74a72f6acaa6fd379f4621 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=AA=E6=9D=A5?= Date: Sun, 19 Jun 2022 14:49:27 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e7fb9f9..0167bcc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ WORKDIR /app # Install app dependencies COPY ./docker/sources.list . -RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak && mv ./sources.list /etc/apt/ +#RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak && mv ./sources.list /etc/apt/ RUN apt-get -o Acquire::Check-Valid-Until=false update \ && apt-get install \ @@ -20,7 +20,8 @@ COPY requirements.txt . RUN mkdir /install -RUN pip download --destination-directory /install -r /app/requirements.txt -i https://pypi.douban.com/simple +#RUN pip download --destination-directory /install -r /app/requirements.txt -i https://pypi.douban.com/simple +RUN pip download --destination-directory /install -r /app/requirements.txt FROM python:3.7.4-slim as release