From b94ff65e9fb2b3d3661245c29b111b0763c0acfe Mon Sep 17 00:00:00 2001 From: Xiyuan Chen <52963600+GareArc@users.noreply.github.com> Date: Wed, 27 May 2026 23:01:11 -0700 Subject: [PATCH] fix(docker): copy dify-agent source into production stage (#36757) --- api/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/Dockerfile b/api/Dockerfile index 81296ee076..493b40af67 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