diff --git a/Dockerfile b/Dockerfile index deb96f2..75a4c70 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,9 +7,10 @@ RUN poetry config virtualenvs.create false COPY pyproject.toml /app/ COPY poetry.lock /app/ +COPY whois /app/whois/ WORKDIR /app -RUN poetry install --no-dev +RUN poetry install --only main COPY . . RUN mkdir /data && chown nobody /data diff --git a/pyproject.toml b/pyproject.toml index 9c01f67..4ec03eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,6 +3,7 @@ name = "whohacks" version = "1.5.0" description = "" authors = ["Norbert Szulc "] +packages = [{ include = "whois" }] [tool.poetry.dependencies] python = "^3.11"