Mention `uv python install --compile-bytecode` in docker guide

This commit is contained in:
Tomasz (Tom) Kramkowski 2025-12-17 17:05:51 +00:00
parent 03d0b753ff
commit 539cf72671
1 changed files with 1 additions and 0 deletions

View File

@ -342,6 +342,7 @@ to improve startup time (at the cost of increased installation time).
To enable bytecode compilation, use the `--compile-bytecode` flag:
```dockerfile title="Dockerfile"
RUN uv python install --compile-bytecode
RUN uv sync --compile-bytecode
```