chore: project scaffolding — Docker, nginx, dependencies

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-03 21:58:58 +05:00
parent ebd86cd6e8
commit 296538b0ea
7 changed files with 303 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
FROM nvidia/cuda:12.4.1-runtime-ubuntu22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV PYTHONUNBUFFERED=1
# System dependencies
RUN apt-get update && apt-get install -y \
python3.11 python3.11-venv python3-pip \
ffmpeg \
libpango-1.0-0 libpangocairo-1.0-0 libgdk-pixbuf2.0-0 \
libffi-dev libcairo2 \
&& rm -rf /var/lib/apt/lists/*
RUN ln -sf /usr/bin/python3.11 /usr/bin/python
WORKDIR /app
COPY requirements.txt .
RUN python -m pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
+43
View File
@@ -0,0 +1,43 @@
# Web framework
fastapi==0.115.6
uvicorn[standard]==0.34.0
python-multipart==0.0.20
# Database
sqlalchemy[asyncio]==2.0.36
asyncpg==0.30.0
alembic==1.14.1
# Validation
pydantic==2.10.4
pydantic-settings==2.7.1
# Auth
passlib[bcrypt]==1.7.4
python-jose[cryptography]==3.3.0
# Task queue
celery[redis]==5.4.0
redis==5.2.1
# AI/ML
faster-whisper==1.1.0
litellm==1.55.8
# Messengers
aiogram==3.15.0
# Export
python-docx==1.1.2
weasyprint==63.1
jinja2==3.1.5
markdown==3.7
# Utils
ffmpeg-python==0.2.0
httpx==0.28.1
# Testing
pytest==8.3.4
pytest-asyncio==0.25.0
httpx==0.28.1