From 89bfc25f35bdfd57eb9ccf6f3a9a3de76e68cf93 Mon Sep 17 00:00:00 2001 From: Jon Herron Date: Wed, 9 Nov 2022 15:45:49 -0500 Subject: [PATCH] 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 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6c533206f..e2d89bebd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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