SQLAlchemy-Utils not required for sqlalchemy v2

This commit is contained in:
2023-11-06 13:02:40 +03:00
parent dd2e3d284d
commit f2f0a8a38b
3 changed files with 42 additions and 43 deletions

View File

@@ -2,10 +2,15 @@
Used for poetry packages management with docker
required `docker` and optionally `docker-compose`
required `docker` and optionally `docker compose`
---
## Install poetry
```bash
curl -sSL https://install.python-poetry.org | python3 -
```
**Generate poetry.lock and requirements.txt in container for any version of python3 and poetry**
@@ -23,7 +28,7 @@ docker build --build-arg USER=$USER -t poetry-python . && docker run --rm -u $US
### Or run from docker-compose:
```bash
docker-compose up --build
docker compose up --build
```
script will generate `poetry.lock` and `requirements.txt` files in `poetry` directory