This changes the python script shebang to use /usr/bin/env python instead of /usr/bin/python that doesn't exist in some environments (for example docker node:17-bullseye).
It will also choose the right interpreter if the script is called inside a venv.
This changes the python script shebang to use
/usr/bin/env python
instead of/usr/bin/python
that doesn't exist in some environments (for example dockernode:17-bullseye
). It will also choose the right interpreter if the script is called inside a venv.