Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dockerfile: set UV_COMPILE_BYTECODE=1
> By default, uv does not compile Python (.py) files > to bytecode (__pycache__/*.pyc); instead, compilation > is performed lazily the first time a module is imported. > For use-cases in which start time is critical, such as > CLI applications and Docker containers, this option can > be enabled to trade longer installation times for faster > start times. Without this we will see increased startup times for apps which can in turn break the dev envs, where instances have reduced cpu and can’t compile all their bytecode in time to return a healthcheck.
- Loading branch information