| title | Python — multi-stage with uv | ||
|---|---|---|---|
| description | Multi-stage Dockerfile for Python services using uv and a slim runtime stage. | ||
| status | stub | ||
| tags |
|
!!! note "Stub page" Small, reproducible Python images using uv for dependency install.
- Builder stage: uv sync into /app/.venv
- Runtime stage: distroless or python:slim with non-root user
- Cache mounts for uv cache
- When to vendor wheels vs install at build