From 23b59b5712a731c7bb53f2cc9411cd558aea59d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=AA=E6=9D=A5?= Date: Sun, 19 Jun 2022 15:01:34 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0167bcc..ded946d 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,8 +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 +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