perf: optimize Docker build time from >10min to ~2min

- Remove sentence-transformers dependency (saves ~3GB PyTorch/CUDA)
- Make CrossEncoder import optional with graceful fallback
- Optimize Dockerfile for layer caching (incremental builds ~3s)
- Change PostgREST port from 3000 to 3001 (avoid Next.js conflict)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-30 21:36:29 +01:00
parent 10bcbb2120
commit 6724fea494
5 changed files with 27 additions and 14 deletions

View File

@@ -10,6 +10,5 @@ dependencies = [
"supabase==2.15.1",
"openai==1.71.0",
"dotenv==0.9.9",
"sentence-transformers>=4.1.0",
"neo4j>=5.28.1",
]