Fixes runtime error where Prisma Client could not locate the Query Engine: "libquery_engine-debian-openssl-1.1.x.so.node" not found Root cause: - Next.js standalone output does not include Prisma Query Engine binaries - The .prisma folder in node_modules contains the required binary files Solution: - Copy node_modules/.prisma folder in Docker runner stage - This includes libquery_engine-debian-openssl-1.1.x.so.node - Prisma Client can now find and load the Query Engine at runtime Tested: ✓ Docker build successful ✓ Container starts without Prisma errors ✓ Application ready in 40ms Changes: - keep-notes/Dockerfile: Add COPY for node_modules/.prisma folder Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
61 lines
1.6 KiB
JSON
61 lines
1.6 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(dir:*)",
|
|
"Bash(findstr:*)",
|
|
"Bash(test:*)",
|
|
"Bash(tree:*)",
|
|
"Bash(find:*)",
|
|
"Bash(npm install:*)",
|
|
"Bash(npx prisma generate:*)",
|
|
"Bash(npx prisma migrate dev:*)",
|
|
"Bash(npx prisma db push:*)",
|
|
"Bash(npm run build:*)",
|
|
"Bash(grep:*)",
|
|
"Bash(netstat:*)",
|
|
"Skill(bmad:bmm:agents:pm)",
|
|
"WebSearch",
|
|
"Bash(powershell:*)",
|
|
"Bash(npm run dev:*)",
|
|
"mcp__zread__read_file",
|
|
"mcp__zread__search_doc",
|
|
"Bash(npx prisma studio:*)",
|
|
"Bash(timeout:*)",
|
|
"mcp__web-reader__webReader",
|
|
"Bash(taskkill:*)",
|
|
"Bash(sqlite3:*)",
|
|
"Bash(node scripts/check-labels.js:*)",
|
|
"Bash(curl:*)",
|
|
"Bash(python:*)",
|
|
"Bash(npm test:*)",
|
|
"Skill(bmad:bmm:agents:ux-designer)",
|
|
"Skill(bmad:bmm:workflows:create-prd)",
|
|
"Bash(ls:*)",
|
|
"Bash(cat:*)",
|
|
"Bash(ping:*)",
|
|
"Bash(tasklist:*)",
|
|
"Bash(npm uninstall:*)",
|
|
"Bash(node:*)",
|
|
"Bash(npx tsx:*)",
|
|
"Bash(npx tsc:*)",
|
|
"mcp__zai-mcp-server__analyze_image",
|
|
"Skill(bmad:bmm:agents:architect)",
|
|
"Bash(git log:*)",
|
|
"Skill(bmad:bmm:workflows:workflow-status)",
|
|
"Skill(bmad:bmm:workflows:sprint-planning)",
|
|
"Bash(done)",
|
|
"Bash(for:*)",
|
|
"Bash(do echo:*)",
|
|
"Bash(chmod:*)",
|
|
"Bash(git add:*)",
|
|
"Bash(git commit:*)",
|
|
"Bash(git push:*)",
|
|
"Bash(docker compose:*)",
|
|
"mcp__context7__resolve-library-id",
|
|
"mcp__web-search-prime__webSearchPrime",
|
|
"mcp__context7__query-docs",
|
|
"Bash(docker logs:*)"
|
|
]
|
|
}
|
|
}
|