fix(docker): run official bot (dave/bot.mjs) in container, not selfbot join.mjs
The `join` entrypoint command now execs `node dave/bot.mjs` and forwards args; Dockerfile comments/env notes updated from DISCORD_SELFBOT_TOKEN to the official bot path. Rebuilt watch_sceen_ai:test on .9 and verified in-container: * smoke -> 4 passed * voice -> eyes-free mock loop runs * join -> LIVE bot join (테스트봇#9029) to guild 사지방 / channel 일반, Ready, clean leave Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
# voice python -m wsai --voice (eyes-free mock voice loop demo)
|
||||
# mock python -m wsai (full mock flow, few frames)
|
||||
# gpu nvidia-smi — prove the GPU is visible inside the container
|
||||
# join node dave/join.mjs — LIVE selfbot voice join (needs .env
|
||||
# mounted; honors RUN_MS / GUILD_ID / CHANNEL_ID / SELF_ID)
|
||||
# join node dave/bot.mjs — LIVE official-bot voice join (needs .env
|
||||
# mounted; honors RUN_MS / GUILD_ID / CHANNEL_ID)
|
||||
# shell drop to bash
|
||||
set -euo pipefail
|
||||
cd /app
|
||||
@@ -18,7 +18,7 @@ case "$cmd" in
|
||||
voice) exec python -m wsai --voice ;;
|
||||
mock) exec python -m wsai ;;
|
||||
gpu) exec nvidia-smi ;;
|
||||
join) cd dave && exec node join.mjs ;;
|
||||
join) cd dave && exec node bot.mjs "$@" ;;
|
||||
shell) exec bash ;;
|
||||
*) exec "$cmd" "$@" ;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user