Skip to content

Commit babd140

Browse files
committed
Fixed claude installation
1 parent c2d4bff commit babd140

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

Dockerfile

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,19 @@ RUN chmod +x /usr/bin/railway-entrypoint.sh
8787
# ============================================================================
8888
# FALLBACK CLAUDE CODE CLI INSTALLATION
8989
# Installed to /usr/local/bin as fallback - volume version takes priority
90-
# Claude Code is ALWAYS installed (cannot be disabled)
90+
# Claude installer puts binary in ~/.local/bin/claude
9191
# ============================================================================
9292

9393
RUN curl -fsSL https://claude.ai/install.sh | bash \
94-
&& if [ -f /root/.claude/local/claude ]; then \
95-
mv /root/.claude/local/claude /usr/local/bin/claude; \
94+
&& if [ -f /root/.local/bin/claude ]; then \
95+
cp /root/.local/bin/claude /usr/local/bin/claude; \
9696
chmod +x /usr/local/bin/claude; \
97-
fi \
98-
&& rm -rf /root/.claude
97+
echo "Claude CLI installed to /usr/local/bin/claude"; \
98+
else \
99+
echo "WARNING: Claude CLI not found at expected path"; \
100+
ls -la /root/.local/bin/ 2>/dev/null || echo "~/.local/bin does not exist"; \
101+
ls -la /root/.claude/ 2>/dev/null || echo "~/.claude does not exist"; \
102+
fi
99103

100104
# ============================================================================
101105
# RUNTIME

0 commit comments

Comments
 (0)