feat(docker): add UV_EXTRAS build arg for optional dependencies

Support installing optional dependency groups (e.g. postgres) at
Docker build time via UV_EXTRAS build arg:
  UV_EXTRAS=postgres docker compose build

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
rayhpeng
2026-04-03 17:25:22 +08:00
parent e362aaefbd
commit e5b01d7e74
5 changed files with 113 additions and 1 deletions
+5
View File
@@ -18,6 +18,11 @@ dependencies = [
"markdown-to-mrkdwn>=0.3.1",
]
[project.optional-dependencies]
postgres = [
"deerflow-harness[postgres]",
]
[dependency-groups]
dev = ["pytest>=8.0.0", "ruff>=0.14.11"]