fix: resolve Docker build issues

- Update .gitignore to allow moveIndex.json (needed at build time)
- Exclude only eco*.json files (too large for git)
- Add uuid package dependency for sessionManager

Fixes:
- Next.js build error: Module not found moveIndex.json
- Build error: Module not found uuid
This commit is contained in:
Stefan
2025-12-08 16:31:03 +01:00
parent 3f096d39a3
commit 8db8410ffe
4 changed files with 129495 additions and 4 deletions
+8 -2
View File
@@ -58,8 +58,14 @@ __pycache__/
*.pgn
*.pgn.zst
# Generated opening and Wikipedia data (fetched at Docker startup)
/public/openings/*.json
# Opening database files (too large for git, users must provide)
/public/openings/eco*.json
# Generated move index (should be committed)
# Note: moveIndex.json is generated from eco files but needs to be in git
# because Next.js imports it at build time
# Wikipedia data (fetched at Docker startup)
/public/wikipedia/*.json
/public/wikipedia/.initialized