修复 Agent Docker 镜像构建失败:移除 .dockerignore 中的 bin/agents/ 排除规则

问题原因:.dockerignore 文件中排除了 bin/agents/ 目录,导致 Docker 构建时无法访问预编译的 agent 二进制文件,引发 "file not found" 错误。

解决方案:将 .dockerignore 中的 bin/agents/ 排除规则注释掉,使 Docker 构建上下文能够包含这些必需的编译产物。

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
dushixiang
2025-12-25 22:29:07 +08:00
parent 432b4d1d87
commit 338926e772

View File

@@ -14,7 +14,7 @@
*~
# 构建产物
bin/agents/
# bin/agents/ 不能忽略Agent Docker 镜像构建需要使用
web/dist/
web/node_modules/