Files
xiaoxia-saas/requirements-base.txt
灵应 bf6ae9c430
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
Deploy / Staging E2E Tests (push) Failing after 93h39m59s
Deploy / Deploy Staging (push) Failing after 94h0m21s
CI/CD Pipeline / Frontend Lint (push) Failing after 94h0m28s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 94h0m28s
refactor: API/Worker 依赖拆分 - 移除 API 镜像中的重依赖
- 新建 requirements-worker.txt,包含 numpy/scipy/opencv/Pillow/ffmpeg-python
- requirements-base.txt 移除视频处理大包,仅保留公共基础依赖
- worker.Dockerfile 新增 requirements-worker.txt 安装层
- API Dockerfile 无需修改,自动不再包含重包
- 验证:API/packages 代码无 numpy/scipy/cv2 导入
- 全量测试 994 passed, 0 failed

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-05 14:54:04 +08:00

33 lines
541 B
Plaintext
Executable File

# 小虾 SaaS - 基础依赖(稳定、变化少,用于 Docker 缓存分层)
# 修改此文件会触发完整重新构建,请谨慎修改
# 数据库(基础层)
psycopg2-binary==2.9.10
psycopg[binary]>=3.2.2
sqlalchemy==2.0.35
alembic==1.13.3
# Web 框架核心
fastapi==0.115.0
uvicorn[standard]==0.32.0
pydantic==2.9.0
# 认证核心
pyjwt==2.9.0
bcrypt==4.2.0
# Redis
redis==5.2.0
# 任务队列
celery==5.4.0
# 对象存储
oss2==2.18.4
# HTTP 客户端
httpx==0.27.2
# Prometheus monitoring
prometheus-client==0.21.1