diff options
author | 2025-02-16 16:41:53 +0000 | |
---|---|---|
committer | 2025-02-16 16:41:53 +0000 | |
commit | 8cd4ff189e87eaeee46d4eccf2c9eacd9b31f360 (patch) | |
tree | 4290a324c7c5abdf107f32c02024cafdca6147e3 | |
parent | Bonsai now needs libldap2-dev at runtime (diff) |
Build python byte code at isstall time
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |