Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix(api): avoid dify-agent path lookup during Docker build (#36187)
盐粒 Yanli3f7a68fc77bb
diff --git a/api/Dockerfile b/api/Dockerfileindex 6098652573c..84255789533 100644--- a/api/Dockerfile+++ b/api/Dockerfile@@ -24,7 +24,8 @@ RUN apt-get update \# Install Python dependencies (workspace members under providers/vdb/)COPY pyproject.toml uv.lock ./COPY providers ./providers-RUN uv sync --locked --no-dev+# Trust the checked-in lock during image builds; dev-only path sources live outside the api/ context.+RUN uv sync --frozen --no-dev# production stageFROM base AS productiondiff --git a/api/pyproject.toml b/api/pyproject.tomlindex 8fca08fe462..bca55bc9b1d 100644--- a/api/pyproject.toml+++ b/api/pyproject.toml@@ -42,7 +42,6 @@ dependencies = ["readabilipy>=0.3.0,<1.0.0","resend>=2.27.0,<3.0.0",# Emerging: newer and fast-moving, use compatible pins- "dify-agent","fastopenapi[flask]~=0.7.0","graphon~=0.3.1","httpx-sse~=0.4.0",@@ -115,6 +114,7 @@ override-dependencies = [############################################################dev = ["coverage>=7.13.4",+ "dify-agent","dotenv-linter>=0.7.0","faker>=40.15.0","lxml-stubs>=0.5.1",diff --git a/api/uv.lock b/api/uv.lockindex 06ec6547f5f..8a9692b5adb 100644--- a/api/uv.lock+++ b/api/uv.lock@@ -1332,7 +1332,6 @@ dependencies = [{ name = "boto3" },{ name = "celery" },{ name = "croniter" },- { name = "dify-agent" },{ name = "fastopenapi", extra = ["flask"] },{ name = "flask" },{ name = "flask-compress" },@@ -1373,6 +1372,7 @@ dev = [{ name = "boto3-stubs" },{ name = "celery-types" },{ name = "coverage" },+ { name = "dify-agent" },{ name = "dotenv-linter" },{ name = "faker" },{ name = "hypothesis" },@@ -1615,7 +1615,6 @@ requires-dist = [{ name = "boto3", specifier = ">=1.43.6" },{ name = "celery", specifier = ">=5.6.3" },{ name = "croniter", specifier = ">=6.2.2" },- { name = "dify-agent", directory = "../dify-agent" },{ name = "fastopenapi", extras = ["flask"], specifier = "~=0.7.0" },{ name = "flask", specifier = ">=3.1.3,<4.0.0" },{ name = "flask-compress", specifier = ">=1.24,<2.0.0" },@@ -1656,6 +1655,7 @@ dev = [{ name = "boto3-stubs", specifier = ">=1.43.2" },{ name = "celery-types", specifier = ">=0.23.0" },{ name = "coverage", specifier = ">=7.13.4" },+ { name = "dify-agent", directory = "../dify-agent" },{ name = "dotenv-linter", specifier = ">=0.7.0" },{ name = "faker", specifier = ">=40.15.0" },{ name = "hypothesis", specifier = ">=6.152.4" },