maybe simpler:
has a `main.py` script as its entrypoint or define `ENTRYPOINT ['/env/bin/python', '/app/path/to/entrypoint.py']` in its Dockerfile