4 ms·
> (unless you like using an env in your container that is). What's the problem with that? You just make your script's entry point be something like this:
by diath 1y ago
> (unless you like using an env in your container that is).
What's the problem with that?
You just make your script's entry point be something like this:
uv venv --clear
uv sync
uv run main.py
- nodesocket 1y agoDoesn’t this mean pid 0 in the container is uv instead of python? Does uv run just spawn a child python process?
- diath 1y ago> Does uv run just spawn a child python process? Yes, I suppose you could use it in conjunction with something like https://github.com/krallin/tini https://github.com/krallin/tini.