mirror of
https://github.com/trailofbits/algo.git
synced 2025-09-05 19:43:22 +02:00
Fix Docker build: use --locked without --frozen
The --frozen and --locked flags are mutually exclusive in uv. Using --locked alone provides the stricter enforcement we want - it asserts the lockfile won't change and errors if it would. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
73d8e99b98
commit
a87a021d5b
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
|
||||||
|
|
||||||
# Copy dependency files and install in single layer for better optimization
|
# Copy dependency files and install in single layer for better optimization
|
||||||
COPY pyproject.toml uv.lock ./
|
COPY pyproject.toml uv.lock ./
|
||||||
RUN uv sync --frozen --locked --no-dev
|
RUN uv sync --locked --no-dev
|
||||||
|
|
||||||
# Copy application code
|
# Copy application code
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
Loading…
Add table
Reference in a new issue