From f9b288a04f9ee8d28aee6c08934ae24ec099e5da Mon Sep 17 00:00:00 2001 From: woni <320753691@qq.com> Date: Tue, 16 Jan 2024 21:03:52 +0800 Subject: [PATCH] adjust cd config --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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