thanhnvandClaude Opus 4.8 a056cefa76 fix(backend-image): keep bcrypt native addon in runtime stage
The runtime stage reinstalled deps with `npm ci --ignore-scripts`, which skips
bcrypt's install script and never produces bcrypt_lib.node. The app then
crash-looped at runtime ("Cannot find module .../bcrypt_lib.node") — the Prisma
seed and NestJS auth both require bcrypt — so nginx returned 502 on login.

Reuse the builder's node_modules (bcrypt built WITH scripts + generated Prisma
client) instead of reinstalling. builder and runtime share node:20-slim, so the
native binaries are ABI/platform-compatible.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-01 22:42:47 +09:00
2026-06-30 02:21:39 +09:00
2026-06-30 02:21:39 +09:00
2026-06-30 02:21:39 +09:00
2026-06-30 02:21:39 +09:00
2026-06-30 02:21:39 +09:00
S
Description
No description provided
648 MiB
Languages
Python 33.4%
Shell 32.4%
TypeScript 23.7%
PowerShell 4.5%
JavaScript 4.2%
Other 1.7%