Build wihout dev deps

This commit is contained in:
Gabriel Augendre 2022-10-31 09:30:26 +01:00
parent 3d76181d26
commit fba054d7de

View file

@ -22,9 +22,10 @@ RUN python -m poetry_lock_check check-lock
# Install python dependencies
##############################################
RUN python -m venv --copies /app/venv
ARG POETRY_OPTIONS
# Will install dev deps as well, so that we can run tests in this image
RUN . /app/venv/bin/activate \
&& poetry install --no-interaction
&& poetry install --no-interaction $POETRY_OPTIONS
ENV PATH /app/venv/bin:$PATH