refined-addition-53644
09/01/2022, 12:39 PMpex_binary
. Not sure if you already read about it
https://www.pantsbuild.org/docs/python-package-goal#creating-a-pex-file-from-a-pex_binary-target
You can combine this with docker. Worth going though the docs to understand the flow.
https://www.pantsbuild.org/docs/docker