From 4e809e564e4760106ba22b62ecde72eb1d13d449 Mon Sep 17 00:00:00 2001 From: HuxleyBerry Date: Fri, 17 Jan 2025 05:16:24 +0000 Subject: [PATCH 1/2] try to fix poetry issue when building server dockerfile --- docker/server/Dockerfile | 2 +- server/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/server/Dockerfile b/docker/server/Dockerfile index 3e886bd..183ddc3 100644 --- a/docker/server/Dockerfile +++ b/docker/server/Dockerfile @@ -13,7 +13,7 @@ COPY ./docker/server/entrypoint.sh /entrypoint.sh COPY ./server/pyproject.toml ./server/poetry.lock ./ -RUN poetry install +RUN poetry install --without dev COPY ./server ./ diff --git a/server/pyproject.toml b/server/pyproject.toml index 76048bd..016810f 100644 --- a/server/pyproject.toml +++ b/server/pyproject.toml @@ -1,5 +1,5 @@ [tool.poetry] -name = "api" +name = "server" version = "0.1.0" description = "" authors = ["Coders for Causes"] From 6f8ba17c96849ed5abf73703d35b5f9d810ca5b3 Mon Sep 17 00:00:00 2001 From: HuxleyBerry Date: Fri, 17 Jan 2025 05:17:50 +0000 Subject: [PATCH 2/2] oops --- server/pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/server/pyproject.toml b/server/pyproject.toml index 016810f..09c0a7a 100644 --- a/server/pyproject.toml +++ b/server/pyproject.toml @@ -4,6 +4,7 @@ version = "0.1.0" description = "" authors = ["Coders for Causes"] readme = "README.md" +package-mode = false [tool.poetry.dependencies] python = "^3.12"