add scripts to build & run with Docker

Or set DOCKER_BIN=podman to use Podman.
This commit is contained in:
ducklet 2023-11-29 18:01:01 +01:00
parent 4981de4a04
commit 78b531ad8c
5 changed files with 53 additions and 3 deletions

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "unwind"
version = "0.1.0"
version = "0"
description = ""
authors = ["ducklet <ducklet@noreply.code.dumpr.org>"]
license = "LOL"
@ -15,6 +15,13 @@ uvicorn = "^0.23"
httpx = "^0.24"
sqlalchemy = {version = "^2.0", extras = ["aiosqlite"]}
[tool.poetry.group.build.dependencies]
# When we run poetry export, typing-extensions is a transient dependency via
# sqlalchemy, but the hash won't be included in the requirements.txt.
# By making it a direct dependency we can fix this issue, otherwise this could
# be removed.
typing-extensions = "*"
[tool.poetry.group.dev]
optional = true