Fix better-sqlite3 binding for Prisma adapter

- Force SKIP_SQLITE_REBUILD=false in stack.yml
- Copy binding to multiple locations including @prisma/client paths
- Include version-specific paths for Node.js compiled bindings

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
rever-tecnologia 2025-12-04 16:31:51 -03:00
parent e9a658341f
commit e493ec9d5d
2 changed files with 26 additions and 1 deletions

View file

@ -34,7 +34,7 @@ services:
# Evita apt-get na inicialização porque a imagem já vem com toolchain pronta
SKIP_APT_BOOTSTRAP: "true"
# Sempre revalida/rebuild better-sqlite3 para a runtime atual
SKIP_SQLITE_REBUILD: "true"
SKIP_SQLITE_REBUILD: "false"
# Usado para forçar novo rollout a cada deploy (setado pelo CI)
RELEASE_SHA: "${RELEASE_SHA:-dev}"
deploy: