1 parent
f10efe2b7b
commit
f9b288a04f
1 file changed
+2
-2
+2
-2
@@ -5,7 +5,7 @@ FROM python:3.10 as requirements-stage
|
|||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
|
|
||||||
#
|
#
|
||||||
RUN pip install poetry
|
RUN pip install poetry -i https://pypi.douban.com/simple
|
||||||
|
|
||||||
#
|
#
|
||||||
COPY ./pyproject.toml ./poetry.lock* /tmp/
|
COPY ./pyproject.toml ./poetry.lock* /tmp/
|
||||||
@@ -23,7 +23,7 @@ WORKDIR /code
|
|||||||
COPY --from=requirements-stage /tmp/requirements.txt /code/requirements.txt
|
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
|
COPY ./app /code/app
|
||||||
|
|||||||
Reference in new issue
Block a user