Try to postpone setuptools install
This commit is contained in:
parent
d5a7265f0a
commit
d16fc2aa65
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@ COPY pyproject.toml poetry.lock ./
|
|||
|
||||
RUN python -m venv --copies /app/venv \
|
||||
&& . /app/venv/bin/activate \
|
||||
&& python -m pip install setuptools \
|
||||
&& poetry install $POETRY_OPTIONS
|
||||
&& poetry install $POETRY_OPTIONS \
|
||||
&& python -m pip install setuptools
|
||||
|
||||
ENV PATH /app/venv/bin:$PATH
|
||||
COPY src ./src/
|
||||
|
|
Reference in a new issue