Docker with Prisma / Deno on Mac M1
Error log: https://hastebin.skyra.pw/qelohukaho.swift
Dockerfile: https://hastebin.skyra.pw/ihiyigesih.dockerfile
Prisma Schema: https://hastebin.skyra.pw/goruweteno.ts
Any ideas?
2 Replies
You selected the carefully hand-crafted route. A dev artisan will respond soon. Meanwhile, the
#ask-ai
channel awaits if you're curious!Hi @Shiki
In your schema file, you've specified:
This tells Prisma to use the OpenSSL 1.1.x version.
However, in your Dockerfile, you're installing the latest version of OpenSSL:
This likely installs OpenSSL 3.x on the Debian-based Deno image. The error message is that Prisma can't find libssl.so.1.1, which is the OpenSSL 1.1.x library.
Can you update your
binaryTargets
to use OpenSSL 3.x, which is likely what's installed in your container?
Remember to regenerate the Prisma Client when the change is done.