Skip to content

armgit / dify

Public Imported from GitHub
0

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.

fix(docker): copy dify-agent source into production stage (#36757)

Xiyuan Chenb94ff65e9fb2
diff --git a/api/Dockerfile b/api/Dockerfile
index 81296ee076b..493b40af67f 100644
--- a/api/Dockerfile
+++ b/api/Dockerfile
@@ -27,7 +27,7 @@ COPY api/providers ./providers
COPY dify-agent/pyproject.toml dify-agent/README.md /app/dify-agent/
COPY dify-agent/src /app/dify-agent/src
# Trust the checked-in lock during image builds; local path sources are copied from the repository context.
-RUN uv sync --frozen --no-dev
+RUN uv sync --frozen --no-dev --no-editable
# production stage
FROM base AS production