Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Usage: docker buildx build --platform linux/amd64,linux/arm64 --output type=local,dest=./dist-linux .

# Stage 1: Builder
FROM python:3.12-slim AS builder
FROM python:3.12-slim@sha256:5e2bdb1b0d542d5039cffb8181c65930093949194a65c365dfb1b0fe13a4fa5b AS builder

WORKDIR /app

Expand Down Expand Up @@ -36,7 +36,7 @@ RUN --mount=type=cache,target=/root/.cargo \
uv build

# Stage 2: Extract wheels only (minimal filesystem for docker buildx output)
FROM python:3.12-slim
FROM python:3.12-slim@sha256:5e2bdb1b0d542d5039cffb8181c65930093949194a65c365dfb1b0fe13a4fa5b

# Copy only the built wheels from builder stage
COPY --from=builder /app/dist/*.whl /
Expand Down
Loading