build: add .dockerignore and move docling from runtime to dev deps (#9469)
* feat: add .dockerignore to exclude build artifacts and environment files * feat: move docling to main dependencies and remove docling extra
This commit is contained in:
parent
8af190902c
commit
72ad30ede3
3 changed files with 16 additions and 8 deletions
12
.dockerignore
Normal file
12
.dockerignore
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
src/frontend/node_modules
|
||||
src/frontend/build
|
||||
src/frontend/coverage
|
||||
src/frontend/test-results
|
||||
src/frontend/playwright-report
|
||||
src/frontend/.dspy_cache
|
||||
**/.DS_Store
|
||||
**/__pycache__
|
||||
**/*.pyc
|
||||
**/.pytest_cache
|
||||
**/.venv
|
||||
**/.env
|
||||
|
|
@ -179,6 +179,7 @@ dev = [
|
|||
"pytest-timeout>=2.3.1",
|
||||
"pyyaml>=6.0.2",
|
||||
"pyleak>=0.1.14",
|
||||
"docling>=2.36.1"
|
||||
]
|
||||
|
||||
[tool.uv.sources]
|
||||
|
|
@ -196,9 +197,6 @@ Repository = "https://github.com/langflow-ai/langflow"
|
|||
Documentation = "https://docs.langflow.org"
|
||||
|
||||
[project.optional-dependencies]
|
||||
docling = [
|
||||
"docling>=2.36.1",
|
||||
]
|
||||
|
||||
audio = [
|
||||
"webrtcvad>=2.0.10",
|
||||
|
|
|
|||
8
uv.lock
generated
8
uv.lock
generated
|
|
@ -4949,9 +4949,6 @@ clickhouse-connect = [
|
|||
couchbase = [
|
||||
{ name = "couchbase" },
|
||||
]
|
||||
docling = [
|
||||
{ name = "docling" },
|
||||
]
|
||||
local = [
|
||||
{ name = "ctransformers" },
|
||||
{ name = "llama-cpp-python" },
|
||||
|
|
@ -4971,6 +4968,7 @@ dev = [
|
|||
{ name = "blockbuster" },
|
||||
{ name = "codeflash" },
|
||||
{ name = "dictdiffer" },
|
||||
{ name = "docling" },
|
||||
{ name = "elevenlabs", version = "1.58.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.12.*'" },
|
||||
{ name = "elevenlabs", version = "2.5.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version != '3.12.*'" },
|
||||
{ name = "faker" },
|
||||
|
|
@ -5037,7 +5035,6 @@ requires-dist = [
|
|||
{ name = "couchbase", marker = "extra == 'couchbase'", specifier = ">=4.2.1" },
|
||||
{ name = "ctransformers", marker = "extra == 'local'", specifier = ">=0.2.10" },
|
||||
{ name = "datasets", specifier = ">2.14.7" },
|
||||
{ name = "docling", marker = "extra == 'docling'", specifier = ">=2.36.1" },
|
||||
{ name = "docling-core", specifier = ">=2.36.1" },
|
||||
{ name = "dspy-ai", specifier = "==2.5.41" },
|
||||
{ name = "duckduckgo-search", specifier = "==7.2.1" },
|
||||
|
|
@ -5141,7 +5138,7 @@ requires-dist = [
|
|||
{ name = "youtube-transcript-api", specifier = "==0.6.3" },
|
||||
{ name = "zep-python", specifier = "==2.0.2" },
|
||||
]
|
||||
provides-extras = ["docling", "audio", "couchbase", "cassio", "local", "clickhouse-connect", "nv-ingest", "postgresql"]
|
||||
provides-extras = ["audio", "couchbase", "cassio", "local", "clickhouse-connect", "nv-ingest", "postgresql"]
|
||||
|
||||
[package.metadata.requires-dev]
|
||||
dev = [
|
||||
|
|
@ -5149,6 +5146,7 @@ dev = [
|
|||
{ name = "blockbuster", specifier = ">=1.5.20,<1.6" },
|
||||
{ name = "codeflash", specifier = ">=0.8.4" },
|
||||
{ name = "dictdiffer", specifier = ">=0.9.0" },
|
||||
{ name = "docling", specifier = ">=2.36.1" },
|
||||
{ name = "elevenlabs", marker = "python_full_version != '3.12.*'", specifier = ">=1.52.0" },
|
||||
{ name = "elevenlabs", marker = "python_full_version == '3.12.*'", specifier = "==1.58.1" },
|
||||
{ name = "faker", specifier = ">=37.0.0" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue