mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-05 14:23:53 +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
|
# Install python dependencies
|
||||||
##############################################
|
##############################################
|
||||||
RUN python -m venv --copies /app/venv
|
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
|
# Will install dev deps as well, so that we can run tests in this image
|
||||||
RUN . /app/venv/bin/activate \
|
RUN . /app/venv/bin/activate \
|
||||||
&& poetry install --no-interaction
|
&& poetry install --no-interaction $POETRY_OPTIONS
|
||||||
|
|
||||||
ENV PATH /app/venv/bin:$PATH
|
ENV PATH /app/venv/bin:$PATH
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue