fix(backend): 修复 Prisma 在 Alpine Linux 容器中的 OpenSSL 兼容性问题
在 generator client 中添加 binaryTargets,显式指定 linux-musl-openssl-3.0.x,解决 Alpine Linux 3.18+ 使用 OpenSSL 3.x 时 Prisma 引擎无法加载的问题。
This commit is contained in:
parent
2c67204ef7
commit
f056bf72a2
@ -2,6 +2,7 @@
|
||||
|
||||
generator client {
|
||||
provider = "prisma-client-js"
|
||||
binaryTargets = ["native", "linux-musl-openssl-3.0.x"]
|
||||
}
|
||||
|
||||
datasource db {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user