Poetry docker plugin is an extension for configuring and building docker images directly from the comfort of your pyproject.toml
configuration.
The key features are:
- Easy and similar to Dockerfile syntax support.
- Easily generate dockerfiles, build them and push them to any registry.
- Multiple docker image support. You can declare and build multiple images from a single project.
- Supports configuration variables on image declaration that can be set at runtime.
- Multi-platform build support.
Documentation: https://vagmcs.github.io/poetry-docker-plugin
In order to install the plugin you need to have installed a poetry version >=2.0.0
and type:
poetry self add poetry-docker-plugin
or add the following to your pyproject.toml
:
[tool.poetry.requires-plugins]
poetry-docker-plugin = ">=0.x.x"
This project is licensed under the terms of the MIT license.