File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
9393RUN 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
You can’t perform that action at this time.
0 commit comments