From 68a623154a8c0f9bbf1b1697801f1dc1d106d46d Mon Sep 17 00:00:00 2001 From: Liu An Date: Tue, 10 Mar 2026 17:31:20 +0800 Subject: [PATCH] Fix: bin directory cannot be copied to docker image introduced by #13444 (#13502) ### What problem does this PR solve? bin directory cannot be copied to docker image introduced by ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- .gitignore | 3 ++- Dockerfile | 8 +------- bin/.gitkeep | 0 3 files changed, 3 insertions(+), 8 deletions(-) create mode 100644 bin/.gitkeep diff --git a/.gitignore b/.gitignore index 58fbda13b..906c13dbf 100644 --- a/.gitignore +++ b/.gitignore @@ -229,4 +229,5 @@ internal/cpp/cmake-build-debug/ .trae/ # Go server build output -bin/ +bin/* +!bin/.gitkeep diff --git a/Dockerfile b/Dockerfile index 071efdfc3..ee19086b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -212,13 +212,7 @@ COPY pyproject.toml uv.lock ./ COPY mcp mcp COPY common common COPY memory memory - -RUN if [ -d bin ]; then \ - cp -r bin ./; \ - echo "✓ bin copied"; \ - else \ - echo "✗ bin ignored"; \ - fi +COPY bin bin COPY docker/service_conf.yaml.template ./conf/service_conf.yaml.template COPY docker/entrypoint.sh ./ diff --git a/bin/.gitkeep b/bin/.gitkeep new file mode 100644 index 000000000..e69de29bb