feat: add Python app Dockerfile and dependencies

This commit is contained in:
2026-05-14 23:27:41 +03:00
parent 17a4a7bb2f
commit e8b0c3ce0f
4 changed files with 23 additions and 0 deletions
+10
View File
@@ -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"]
+2
View File
@@ -0,0 +1,2 @@
[pytest]
asyncio_mode = auto
+11
View File
@@ -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
View File