Adds a Python venv to the generated Docker image of a release.
Optional. Enable by listing Marea.Plugins.Docker.Python under
plugins: in marea.yaml. Pulls in Marea.Plugins.Docker
transitively.
Schema contributions:
releases.<r>.docker.python: { version, requirements }— release-level Python configuration, nested inside the Docker plugin'sdocker:block.
Dockerfile contributions: implements
Marea.Plugins.Docker.marea_dockerfile_assigns/2 to inject:
- a
python-builderstage that installspython3and usesuvto build a venv with the requestedrequirements; - an app-stage step that copies
/opt/venvfrom the builder, addspython3to the runtime image, and reassigns ownership.
See the Docker / Python Plugin guide.