Docker image to python pip package (Pypi)?


I have a docker image I created that uses pybind11 and other packages like python3-pip. The docker image is fully functional and I had the following question.

Question: Is it possible to take this docker image and package it on pypi ( Therefore I could have it set globally and if anyone else wanted to download the package to their own machine, it would function accordingly. So the user would simply do “pip3 install [package-name]”?

Let me know, maybe I might be wording the question incorrectly since I am new to this area.

Thank You.