Skip to content

Open Infrastructure Map, a view of infrastructure data in OpenStreetMap

Widen version compatibility

Russ Garrett8f646ca999be
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..71bd2a4
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,8 @@
+FROM python:3.9
+
+RUN pip3 install poetry
+WORKDIR /app
+COPY . /app
+RUN poetry install
+
+ENTRYPOINT poetry run uvicorn main:app
diff --git a/pyproject.toml b/pyproject.toml
index aa027d4..4bc91c3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -5,7 +5,7 @@ description = ""
authors = ["Russ Garrett <[email protected]>"]
[tool.poetry.dependencies]
-python = "^3.8"
+python = ">3.5"
starlette = "^0.13.8"
databases = "^0.4.0"
asyncpg = "^0.21.0"