feat: production deployment — Dockerfile, docker-compose, SPA serving, classic bot fights

- Add Dockerfile (multi-stage: build frontend + server, serve from single container)
- Add docker-compose.yml for Portainer stack deployment
- Server serves frontend SPA in production (static assets + SPA fallback)
- Auto-run migrations and seed mock bots on server startup
- DB path configurable via DB_PATH env var
- Add "Fight a Classic Bot" button for instant mock bot matches
- FIGHT button queues for real AI opponents

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-07 10:42:18 +00:00
co-authored by Claude Opus 4.6
parent 120250c01a
commit 6bf9fe27b3
17 changed files with 2321 additions and 298 deletions
+3 -3
View File
@@ -335,11 +335,11 @@ const ROUND_HYPE = [
// Mortal Kombat style dramatic calls
export function announceFinishHim() {
speak('Finish him!', 'announcer', true, true)
speak('Finish it!', 'announcer', true, true)
}
export function announceFatality() {
speak('Fatality!', 'deep', true, true)
export function announceFatality(tagline?: string) {
speak(tagline || 'Fatality!', 'deep', true, true)
}
export function announceFlawlessVictory() {