The CLI part is hardly relevant here, I mentioned it because that’s what I’m working with it. It’s meant to run on pre existing dockerized servers, does a bunch of network operations, and works just as well via docker run --rm mycliapp [args] as it does locally. But you can essentially boil down my question to “Docker tagging standards for a Python project”.
I don’t know if there are strong conventions for this, but you probably want to include both the project version number and the python version.
One example that does this is dask-docker. They use calendar versioning so the tag 2023.12.1-py3.10 is the version of dask and then the version of python.