requirements-docker.txt 718 Bytes
# Web Framework
fastapi>=0.104.0
uvicorn[standard]>=0.24.0
python-multipart>=0.0.6

# Machine Learning & Computer Vision - CPU ONLY
# 明确使用PyTorch官方CPU wheel链接,使用兼容的版本组合
--find-links https://download.pytorch.org/whl/torch_stable.html
torch==2.0.1+cpu
torchvision==0.15.2+cpu
faiss-cpu>=1.7.4
opencv-python>=4.8.0
Pillow>=10.0.0

# Database
PyMySQL>=1.1.0
# sqlite3 is built-in to Python, no need to install

# JWT Authentication
python-jose[cryptography]>=3.3.0
passlib[bcrypt]>=1.7.4

# HTTP Requests
httpx>=0.25.0
requests>=2.31.0

# Utilities
python-dotenv>=1.0.0
pyyaml>=6.0.1
numpy>=1.24.0,<2.0.0

# Logging & Monitoring
structlog>=23.1.0

# Task Scheduling
apscheduler==3.10.4