This project provides you a working Python Poetry-based environment using Docker and Docker Compose.
-
Install Docker and Docker-compose;
-
Clone this project and then cd to the project folder;
-
Build the image:
$ docker compose build
- Run the project:
$ docker compose up
You can use poetry locally with in-project virtualenvs as it specified in poetry.toml
:
$ poetry run main
In that case you can also use the black code formatter:
$ poetry run black ./docker_poetry
This project is licensed under the MIT License.