In case it's helpful to someone I wrote up a bunch of information about how we package Python zips for AWS Lambdas and docker images (for Fargate):
https://github.com/pantsbuild/pants/discussions/18756
It's not docs or blog-post quality, but there's a bunch of code at least.