mirror of https://github.com/astral-sh/uv
Mention `uv python install --compile-bytecode` in docker guide
This commit is contained in:
parent
03d0b753ff
commit
539cf72671
|
|
@ -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
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue