chore: add douban docker mirror

This commit is contained in:
javaSwing 2023-11-19 12:11:17 +08:00
parent b9f6870329
commit 61a2547a38

View File

@ -6,6 +6,10 @@ RUN apt-get -y update \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \
python3.11 python3-pip python3.11-dev nodejs 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 COPY . /app
WORKDIR /app WORKDIR /app
RUN pip3 --no-cache-dir install --user -r /app/requirements.txt RUN pip3 --no-cache-dir install --user -r /app/requirements.txt