Try to postpone setuptools install

This commit is contained in:
Gabriel Augendre 2022-10-19 22:22:12 +02:00
parent d5a7265f0a
commit d16fc2aa65

View file

@ -14,8 +14,8 @@ COPY pyproject.toml poetry.lock ./
RUN python -m venv --copies /app/venv \ RUN python -m venv --copies /app/venv \
&& . /app/venv/bin/activate \ && . /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 ENV PATH /app/venv/bin:$PATH
COPY src ./src/ COPY src ./src/