diff options
author | 2024-04-10 21:54:55 +0100 | |
---|---|---|
committer | 2024-04-10 21:54:55 +0100 | |
commit | 12641ee6112bae671f63538f27461562c830cca5 (patch) | |
tree | ee48f993a66e11662e75a6f02920b2c90dc26e96 | |
parent | Run `ruff format` to fix format changes (diff) |
Change Poetry to install `--no-root` in Docker
Don't install the root package in the Dockerfile at the dependencies
stage. We do this because we only copy over the pyproject.toml and the
poetry.lock file meaning that we cannot depend on the package
directory (`arthur`) being present at that point.
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3,7 +3,7 @@ FROM --platform=linux/amd64 ghcr.io/owl-corp/python-poetry-base:3.12-slim # Install project dependencies WORKDIR /app COPY pyproject.toml poetry.lock ./ -RUN poetry install --without dev +RUN poetry install --without dev --no-root # Set Git SHA environment variable for Sentry ARG git_sha="development" |