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
- 新建 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>
18 lines
344 B
Plaintext
18 lines
344 B
Plaintext
# 小虾 SaaS - Worker 专属依赖(视频处理大包,仅 Worker 需要)
|
|
# 这些包体积大,API 服务不需要安装
|
|
|
|
# 数值计算
|
|
numpy>=1.24.0
|
|
|
|
# 科学计算
|
|
scipy>=1.10.0
|
|
|
|
# 计算机视觉(视频去重、帧处理)
|
|
opencv-python-headless>=4.8.0
|
|
|
|
# 图像处理
|
|
Pillow==10.4.0
|
|
|
|
# FFmpeg Python 绑定
|
|
ffmpeg-python==0.2.0
|