Skip to content

Commit 338926e

Browse files
dushixiangclaude
andcommitted
修复 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>
1 parent 432b4d1 commit 338926e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*~
1515

1616
# 构建产物
17-
bin/agents/
17+
# bin/agents/ 不能忽略,Agent Docker 镜像构建需要使用
1818
web/dist/
1919
web/node_modules/
2020

0 commit comments

Comments
 (0)