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:
Jon Herron 2022-11-09 15:45:49 -05:00
parent de30945eec
commit 89bfc25f35

View File

@ -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