Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
aiastia authored Jun 19, 2022
1 parent 176a41a commit 23b59b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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

Expand Down

0 comments on commit 23b59b5

Please sign in to comment.