diff --git a/Dockerfile b/Dockerfile index cf680ee..4129d06 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,11 +11,12 @@ WORKDIR /app # Install dependencies first (cached layer as long as lockfile doesn't change) COPY pyproject.toml uv.lock ./ -RUN uv lock +RUN uv lock --upgrade RUN uv sync --locked --no-install-project --no-editable # Copy the rest of the project and install it COPY . . +RUN uv lock RUN uv sync --locked --no-editable # --- Final stage: no uv, no build artifacts ---