betterbot/docker-entrypoint.sh
Andre K e68c84424f
Some checks failed
Deploy BetterBot / deploy (push) Failing after 3s
Deploy BetterBot / notify (push) Successful in 3s
feat: fork from CodeAnywhere framework
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
2026-04-19 08:01:27 +08:00

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 "$@"