chore: add douban docker mirror
This commit is contained in:
parent
b9f6870329
commit
61a2547a38
1 changed files with 4 additions and 0 deletions
|
|
@ -6,6 +6,10 @@ RUN apt-get -y update \
|
|||
&& apt-get install -y --no-install-recommends \
|
||||
python3.11 python3-pip python3.11-dev nodejs
|
||||
|
||||
# Using douban pipy mirror
|
||||
RUN pip3 install -i https://pypi.douban.com/simple/ -U pip
|
||||
RUN pip3 config set global.index-url https://pypi.douban.com/simple/
|
||||
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
RUN pip3 --no-cache-dir install --user -r /app/requirements.txt
|
||||
|
|
|
|||
Loading…
Reference in a new issue