From debdb3c14db9e21a440ba76b2c7a985e9aed08f6 Mon Sep 17 00:00:00 2001 From: Fabio Ambauen Date: Fri, 26 Jul 2024 13:47:42 +0200 Subject: [PATCH] fix: make sure dev dependencies are only installed in dev --- api/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/Dockerfile b/api/Dockerfile index 9a8bc75b..886a31c0 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -24,7 +24,7 @@ WORKDIR $APP_HOME ARG INSTALL_DEV_DEPENDENCIES=false COPY pyproject.toml poetry.lock $APP_HOME/ -RUN if [ "$INSTALL_DEV_DEPENDENCIES" = "true" ]; then poetry install; else poetry install --without dev; fi +RUN if [ "$INSTALL_DEV_DEPENDENCIES" = "true" ]; then poetry install --with dev; else poetry install; fi COPY . $APP_HOME