v1 - basic functionality

This commit is contained in:
2026-04-11 09:26:46 -04:00
commit 243b84946f
5 changed files with 166 additions and 0 deletions

15
entrypoint.sh Normal file
View File

@ -0,0 +1,15 @@
#!/bin/bash
set -e
# Install Claude Code if not already present in the home volume.
# Because the home directory is a volume, this install persists across
# container restarts and rebuilds.
if ! command -v claude &>/dev/null; then
echo "Claude Code not found — running installer..."
curl -fsSL https://claude.ai/install.sh | bash
echo "Claude Code installed successfully."
else
echo "Claude Code $(claude --version 2>/dev/null || echo '(version unknown)') ready."
fi
exec "$@"