diff --git a/Dockerfile b/Dockerfile index b9cdb43..948906d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ FROM python:3.10 as requirements-stage WORKDIR /tmp # -RUN pip install poetry +RUN pip install poetry -i https://pypi.douban.com/simple # COPY ./pyproject.toml ./poetry.lock* /tmp/ @@ -23,7 +23,7 @@ WORKDIR /code COPY --from=requirements-stage /tmp/requirements.txt /code/requirements.txt # -RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt +RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt -i https://pypi.douban.com/simple # COPY ./app /code/app