mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-12-22 13:51:49 +01:00
Build wihout dev deps
This commit is contained in:
parent
3d76181d26
commit
fba054d7de
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue