From 276477e245ffc733b7f71afb8f45728d2fcd83b1 Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Wed, 25 Feb 2026 19:11:33 -0500 Subject: [PATCH] fix: copy claude binary to /usr/local/bin instead of symlinking Symlink left the original in ~/.local/bin which triggered a PATH warning at runtime. Copy the binary and remove the original. Co-Authored-By: Claude Opus 4.6 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f82d569..747734b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -66,7 +66,8 @@ RUN npm install -g happy-coder # Install Claude Code native binary (npm wrapper breaks remote control) RUN curl -fsSL https://claude.ai/install.sh | bash && \ - ln -s /root/.local/bin/claude /usr/local/bin/claude && \ + cp /root/.local/bin/claude /usr/local/bin/claude && \ + rm -rf /root/.local/bin/claude && \ claude --version # Install OpenCode AI coding agent