From e860609f4b0842d5f142ec231a58217be28df454 Mon Sep 17 00:00:00 2001 From: Eduard Kaverinskyi Date: Wed, 23 Oct 2024 20:34:28 +0200 Subject: [PATCH 1/2] Dockerfile: replace deprecated '--no-dev' option with '--only main' --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index deb96f2..dbefc9c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ COPY pyproject.toml /app/ COPY poetry.lock /app/ WORKDIR /app -RUN poetry install --no-dev +RUN poetry install --only main COPY . . RUN mkdir /data && chown nobody /data From c120fd6ad0d1b4f427128e6c4374017bb359cd63 Mon Sep 17 00:00:00 2001 From: Eduard Kaverinskyi Date: Wed, 23 Oct 2024 20:31:33 +0200 Subject: [PATCH 2/2] pyproject.toml: disable package mode for whois. This removes the warning on running the `poetry install` command. Signed-off-by: Eduard Kaverinskyi --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 9c01f67..264185a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,6 +3,7 @@ name = "whohacks" version = "1.5.0" description = "" authors = ["Norbert Szulc "] +package-mode = false [tool.poetry.dependencies] python = "^3.11"