From a5399e1b2055f027ab8706bf697d4a5a156e2d72 Mon Sep 17 00:00:00 2001 From: Huxley Berry <134905354+HuxleyBerry@users.noreply.github.com> Date: Fri, 17 Jan 2025 13:33:22 +0800 Subject: [PATCH] Fix poetry in dockerfile (#115) * try to fix poetry issue when building server dockerfile * oops --- docker/server/Dockerfile | 2 +- server/pyproject.toml | 3 ++- 2 files changed, 3 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..09c0a7a 100644 --- a/server/pyproject.toml +++ b/server/pyproject.toml @@ -1,9 +1,10 @@ [tool.poetry] -name = "api" +name = "server" version = "0.1.0" description = "" authors = ["Coders for Causes"] readme = "README.md" +package-mode = false [tool.poetry.dependencies] python = "^3.12"