> (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