diff --git a/Dockerfile b/Dockerfile index f043703..8d3186f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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