python-poetry/README.md
2023-01-18 00:04:11 +03:00

19 lines
392 B
Markdown

# Poetry main package
Used for poetry packages management with docker
required `docker` and `docker-compose`
## Poetry lock for any version
- copy `pyproject.toml` file to poetry dir
- set `python` version the same as in `pyproject.toml` and set `poetry` versions in Dockerfile
run
```bash
docker-compose up --build
```
script will generate `poetry.lock` and `requirements.txt` files