Fix Docker startup issues

- Change executable from claude-code to claude in startup.sh
- Fix .env parsing to handle comments using set -a/source
- Add explicit PATH for npm global binaries in Dockerfile
- Update scratchpad.md with fix documentation
This commit is contained in:
Vishal Jain
2025-06-12 11:10:32 +01:00
parent 0ec49a426a
commit 7c14a75afc
7 changed files with 57 additions and 39 deletions

View File

@@ -1,11 +1,12 @@
# ABOUTME: Environment variables for Claude Docker
# ABOUTME: Copy this to ~/.claude-docker/.env and fill in your values
# Anthropic API key for Claude Code
ANTHROPIC_API_KEY=your_anthropic_api_key_here
# Optional: Anthropic API key (only needed if not using subscription auth)
# ANTHROPIC_API_KEY=sk-ant-your_anthropic_api_key_here
# Twilio credentials for SMS notifications
TWILIO_ACCOUNT_SID=your_twilio_account_sid
TWILIO_AUTH_TOKEN=your_twilio_auth_token
TWILIO_PHONE_NUMBER=+1234567890 # Your Twilio phone number
YOUR_PHONE_NUMBER=+1234567890 # Your personal phone to receive SMS
# Optional: Twilio credentials for SMS notifications via MCP
# TWILIO_ACCOUNT_SID=your_twilio_sid_here
# TWILIO_API_KEY=your_twilio_api_key_here
# TWILIO_API_SECRET=your_twilio_api_secret_here
# TWILIO_FROM_NUMBER=+1234567890 # Your Twilio phone number
# TWILIO_TO_NUMBER=+1234567890 # Your personal phone to receive SMS