fix(docker): add python3/make/g++ for native module rebuilds; clarify DEV docs

- @discordjs/opus@0.10.0 has no node>=22 prebuilt, so node-gyp falls back
  to source compile and needs python3/make/g++. Add them to apt-get install
  in the bookworm-slim base. Verified `docker build` succeeds end-to-end.
- .env.example: rewrite DEV description to cover both behaviors
  (clientReady guild-only registration + Prod-commands guild-wipe-then-global).
This commit is contained in:
Claude Owner
2026-05-27 21:00:07 +09:00
parent 94a39e0d45
commit 9eed231244
2 changed files with 7 additions and 4 deletions

View File

@@ -10,8 +10,8 @@ PREFIX=!
# SQLite DB 파일 경로 (예: ./db/tts.db)
DBPATH=./db/tts.db
# 개발 길드 ID. DEV=true 일 때 슬래시 명령이 이 길드에만 등록되고,
# `npm run prod` 이 길드의 기존 명령 먼저 wipe 뒤 전역 등록
# 개발 길드 ID. `npm run dev` 시 슬래시 명령이 이 길드에만 등록되어 즉시 반영되고,
# `npm run prod` 실행 시 DEV=true 면 이 길드의 기존 슬래시 명령 먼저 wipe 뒤 전역 등록
GUILDID=
# 치지직(Chzzk) 인증 쿠키
@@ -24,7 +24,10 @@ SIGNATURE_HOST=
# TTS 외부 경로 (선택, 현재 호출처 없음. 향후 사용 대비 환경변수만 받아둠)
TTSPATH=
# true 면 글로벌 대신 GUILDID 에만 슬래시 등록 (선택, 기본 false)
# 개발 모드 플래그 (선택, 기본 false)
# - 봇 기동 시(clientReady): true 면 GUILDID 길드에 슬래시 명령을 길드 한정 등록 (즉시 반영용)
# - `npm run prod` 실행 시: true 면 GUILDID 길드의 기존 슬래시를 먼저 wipe 한 뒤 전역 등록 (중복 정리)
# false 면 전역 등록만 (운영 배포)
DEV=false
# true 면 명령어 오류 스택을 콘솔에 출력 (선택, 기본 false)