This commit is contained in:
1 parent
b6b31887d9
commit
4ef9913fb5
1 file changed
+2
-3
+2
-3
@@ -5,8 +5,7 @@ FROM python:3.10 as requirements-stage
|
||||
WORKDIR /tmp
|
||||
|
||||
#
|
||||
RUN pip install poetry -i https://mirrors.ustc.edu.cn/pypi/simple
|
||||
|
||||
RUN pip install poetry -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
#
|
||||
COPY ./pyproject.toml ./poetry.lock* /tmp/
|
||||
|
||||
@@ -23,7 +22,7 @@ WORKDIR /code
|
||||
COPY --from=requirements-stage /tmp/requirements.txt /code/requirements.txt
|
||||
|
||||
#
|
||||
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt -i https://mirrors.ustc.edu.cn/pypi/simple
|
||||
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
|
||||
#
|
||||
COPY ./app /code/app
|
||||
|
||||
Reference in new issue
Block a user