This repo contains just an example of simple hello-world app written in python built and packaged into docker image by bazel.
bazel run //cli:cli
will run the app with your local pythonbazel run //cli:cli-image
will build a docker image, load it into your docker daemon and run it inside.
This example does not use distroless python since it has only Python 3.7. Instead of that standard python image from dockerhub is used. If you prefer to use distroless python you can remove base = "//:py385
line from cli/BUILD.