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

This commit is contained in:
Xiyuan Chen
2026-05-27 23:01:11 -07:00
committed by GitHub
parent 678260e34e
commit b94ff65e9f

View File

@ -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