This directory contains examples of creating OCI container images for Python applications using rules_img.
The fastest way to package a Python binary: just point image_from_binary at your py_binary target. The entrypoint, args, env, and working directory are configured automatically. See image_from_binary_example/.
bazel build //:imagebazel run //:pushbazel run //:load
docker run --rm ghcr.io/malt3/rules_img/python:sideloadedSee the BUILD files for more details.