From fba388ae14b18473b42de4b03c4118bcaf920a99 Mon Sep 17 00:00:00 2001 From: David Lougheed Date: Sat, 7 Sep 2024 16:29:25 -0400 Subject: [PATCH] fix: docker CMD and configure pyproject build-system --- Dockerfile | 2 +- pyproject.toml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0c41a244..8445cb58 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,4 +40,4 @@ RUN poetry install --without dev # in /app/canary/config/config.py # Users should mount a read/writable volume for /app/data/runtime -CMD ["canary"] +CMD ["poetry", "run", "canary"] diff --git a/pyproject.toml b/pyproject.toml index ab87a5ac..50824933 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "Canary" -version = "4.0.0" +version = "4.0.1" description = "" license = "GPL-3.0-only" repository = "https://github.com/idoneam/Canary" @@ -52,3 +52,7 @@ types-tabulate = "^0.8.11" [tool.black] line-length = 120 + +[build-system] +requires = ["poetry-core"] +build-backend = "poetry.core.masonry.api"