mirror of
https://github.com/Balshgit/python-poetry.git
synced 2026-02-03 11:20:40 +03:00
a328058a58b49ea5ada78213424b21f231e64c48
Poetry main packages
Used for poetry packages management with docker
required docker and optionally docker-compose
Generate poetry lock for any version
- copy
pyproject.tomlfile topoetrydir - In Dockerfile set
pythonversion the same as inpyproject.tomlandpoetryversion which will be used
Run from docker:
docker build --build-arg USER=$USER -t poetry-python . && docker run --rm -u $USER -v $PWD/poetry:/poetry poetry-python
Or from docker-compose:
docker-compose up --build
script will generate poetry.lock and requirements.txt files in poetry directory
Description
Languages
Dockerfile
51.4%
Makefile
48.6%