-
Couldn't load subscription status.
- Fork 2.2k
Description
In the documentation uv run hello.py is used as an example (or the main way) on how to run a project. This assigns the PID 1 to uv and whatever uv spawns is another process - this is problematic when using Docker and need to send signals to your application, like sending SIGHUP, SIGTTIN, SIGTTOU to your container to inform Uvicorn to do something. Docker will only send the signals to the process sunning under PID 1 (here it's explained better then I ever could).
If the UV process can proxy all signals then I guess that would be fine but still I would not be too keen on running a different process in front of my web server, not for the reason of dependency management.
Might be related to: #7342 if uv could install into a non-virtual env (container's only Python)