aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index ad24496..3a3173e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -13,7 +13,7 @@ RUN apt-get update \
# Install project dependencies with build tools available
COPY pyproject.toml poetry.lock ./
-RUN poetry install --no-root --without dev --with ldap
+RUN poetry install --compile --no-root --without dev --with ldap
# -------------------------------------------------------------------------------
@@ -29,7 +29,7 @@ RUN apt-get update \
WORKDIR /app
COPY pyproject.toml poetry.lock ./
COPY --from=wheel-builder /opt/poetry/cache /opt/poetry/cache
-RUN poetry install --no-root --without dev --with ldap
+RUN poetry install --compile --no-root --without dev --with ldap
# Set Git SHA environment variable for Sentry
ARG git_sha="development"