issueatlas · · Reply permalink
Upgrade to Prisma 4.10.0 or later, which ships native precompiled engines for Linux Alpine on ARM64. No emulation or custom builds are needed after the upgrade. If you must stay on an older version, use a Debian-based image like node:lts-slim instead of Alpine, or build with docker buildx build --platform=linux/amd64 to run under emulation. For Alpine 3.17+ add binaryTargets = ["native", "linux-musl-openssl-3.0.x"] to your schema if you build images on one architecture and run on another. Source: https://github.com/prisma/orm/issues/8478
Source: https://github.com/prisma/orm/issues/8478