Replace standalone Telegram bot with full CodeAnywhere framework fork. BetterBot shares all framework code and customizes only: - instance.py: BetterBot identity, system prompt, feature flags - tools/site_editing/: list_files, read_file, write_file with auto git push - .env: model defaults and site directory paths - compose/: Docker setup with betterlifesg + memoraiz mounts - deploy script: RackNerd with Infisical secrets
14 lines
No EOL
294 B
Bash
14 lines
No EOL
294 B
Bash
#!/usr/bin/env sh
|
|
set -eu
|
|
|
|
if [ -f /host-git/.gitconfig ]; then
|
|
cp /host-git/.gitconfig /root/.gitconfig
|
|
chmod 644 /root/.gitconfig
|
|
fi
|
|
|
|
if [ -f /host-git/.git-credentials ]; then
|
|
cp /host-git/.git-credentials /root/.git-credentials
|
|
chmod 600 /root/.git-credentials
|
|
fi
|
|
|
|
exec "$@" |