diff --git a/app/Dockerfile b/app/Dockerfile new file mode 100644 index 0000000..617e0d7 --- /dev/null +++ b/app/Dockerfile @@ -0,0 +1,10 @@ +FROM python:3.12-slim + +WORKDIR /app + +COPY requirements.txt . +RUN pip install --no-cache-dir -r requirements.txt + +COPY . . + +CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"] diff --git a/app/pytest.ini b/app/pytest.ini new file mode 100644 index 0000000..2f4c80e --- /dev/null +++ b/app/pytest.ini @@ -0,0 +1,2 @@ +[pytest] +asyncio_mode = auto diff --git a/app/requirements.txt b/app/requirements.txt new file mode 100644 index 0000000..73e8e7c --- /dev/null +++ b/app/requirements.txt @@ -0,0 +1,11 @@ +fastapi==0.115.5 +uvicorn[standard]==0.32.1 +sqlalchemy[asyncio]==2.0.36 +aiosqlite==0.20.0 +httpx==0.28.0 +pyyaml==6.0.2 +jinja2==3.1.4 +python-multipart==0.0.12 +pytest==8.3.3 +pytest-asyncio==0.24.0 +respx==0.21.1 diff --git a/app/tests/__init__.py b/app/tests/__init__.py new file mode 100644 index 0000000..e69de29