File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
src/ai_sbx/dockerfiles/devcontainer-base Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,13 @@ if [ "$COPY_CLAUDE_SETTINGS" = "true" ] && [ -d /host/.claude ]; then
126126 if [ -f /host/.claude/settings.json ] && [ ! -f /home/claude/.claude/settings.json ]; then
127127 cp /host/.claude/settings.json /home/claude/.claude/ 2> /dev/null || true
128128 fi
129+
130+ # Copy .env from host if exists (for Ralph CLI: Telegram tokens, recovery settings)
131+ if [ -f /host/.claude/.env ] && [ ! -f /home/claude/.claude/.env ]; then
132+ cp /host/.claude/.env /home/claude/.claude/ 2> /dev/null && \
133+ chmod 600 /home/claude/.claude/.env 2> /dev/null && \
134+ echo " Copied .env from host ~/.claude" || true
135+ fi
129136fi
130137
131138# Copy Codex auth.json from host if mounted and readable
You can’t perform that action at this time.
0 commit comments