From 338926e77265dca1a238c644cbfce57d79783653 Mon Sep 17 00:00:00 2001 From: dushixiang Date: Thu, 25 Dec 2025 22:29:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20Agent=20Docker=20=E9=95=9C?= =?UTF-8?q?=E5=83=8F=E6=9E=84=E5=BB=BA=E5=A4=B1=E8=B4=A5=EF=BC=9A=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=20.dockerignore=20=E4=B8=AD=E7=9A=84=20bin/agents/=20?= =?UTF-8?q?=E6=8E=92=E9=99=A4=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 问题原因:.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 --- .dockerignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 437478c..23f139d 100644 --- a/.dockerignore +++ b/.dockerignore @@ -14,7 +14,7 @@ *~ # 构建产物 -bin/agents/ +# bin/agents/ 不能忽略,Agent Docker 镜像构建需要使用 web/dist/ web/node_modules/