bcb1663de4
Deploy / Staging E2E Tests (push) Has been skipped
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 / Deploy Staging (push) Failing after 138h40m13s
CI/CD Pipeline / Frontend Lint (push) Failing after 138h40m24s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 138h40m24s
- 拆分 requirements.txt: 稳定大包放 requirements-base.txt(numpy/scipy/opencv/Pillow/sqlalchemy 等),业务依赖留 requirements.txt - 优化 Dockerfile: 分两层安装依赖,基础层缓存命中率高 - CI 改用 docker buildx build,缓存存 Gitea Container Registry - 启用 Gitea Packages/Container Registry(git.xiaoxiajianji.com) - 镜像仍推内网 Registry(172.30.18.198:5000),缓存独立存 Gitea Registry
40 lines
678 B
Plaintext
Executable File
40 lines
678 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
|
|
|
|
# 视频处理(大包,变化极少)
|
|
numpy>=1.24.0
|
|
scipy>=1.10.0
|
|
opencv-python-headless>=4.8.0
|
|
Pillow==10.4.0
|
|
ffmpeg-python==0.2.0
|
|
|
|
# 对象存储
|
|
oss2==2.18.4
|
|
|
|
# HTTP 客户端
|
|
httpx==0.27.2
|
|
|
|
# Prometheus monitoring
|
|
prometheus-client==0.21.1
|