mirror of
https://github.com/Balshgit/python-poetry.git
synced 2026-03-21 22:00:37 +03:00
initial commit
This commit is contained in:
19
README.md
Normal file
19
README.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user