mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-11 18:14:20 +00:00
Squashed 'spiffworkflow-backend/' changes from 6b54770d1..a195512fd
a195512fd do not install dev dependencies when building docker image w/ burnettk git-subtree-dir: spiffworkflow-backend git-subtree-split: a195512fd94dc57b4b84c5d8fdce40f224650f50
This commit is contained in:
parent
de30945eec
commit
89bfc25f35
@ -11,7 +11,7 @@ RUN apt-get update && \
|
||||
|
||||
WORKDIR /app
|
||||
COPY pyproject.toml poetry.lock /app/
|
||||
RUN poetry install
|
||||
RUN poetry install --without dev
|
||||
|
||||
RUN set -xe \
|
||||
&& apt-get remove -y gcc python3-dev libssl-dev \
|
||||
@ -23,6 +23,6 @@ COPY . /app/
|
||||
|
||||
# run poetry install again AFTER copying the app into the image
|
||||
# otherwise it does not know what the main app module is
|
||||
RUN poetry install
|
||||
RUN poetry install --without dev
|
||||
|
||||
CMD ./bin/boot_server_in_docker
|
||||
|
Loading…
x
Reference in New Issue
Block a user