diff --git a/Dockerfile b/Dockerfile index 09fba93..d727b50 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ WORKDIR /app COPY pyproject.toml ./ COPY src ./src FROM base AS test -RUN pip install . pytest ruff +RUN pip install . pytest ruff httpx2 COPY tests ./tests RUN ruff check src tests && pytest -q FROM base AS runtime diff --git a/pyproject.toml b/pyproject.toml index 6593f4c..d200dfc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,6 +12,9 @@ dependencies = [ "python-multipart>=0.0.20,<1", "pillow>=11,<13" ] +[project.optional-dependencies] +test = ["pytest>=9,<10", "ruff>=0.16,<1", "httpx2>=0.1,<1"] + [tool.setuptools.packages.find] where = ["src"]