Are you using M1 Mac? If yes, then this is related to #8478
You can try adding openssl once though in the image by adding RUN apk update && apk add nodejs npm openssl python g++ make && rm -rf /var/cache/apk/*, otherwise I will suggest you to use node:18-slim image.
How to implement docker with prisma?
Python Prisma hangs on disconnect() when inside Docker container - Stack Overflow
Prisma Client not working properly in Docker Container
node.js - How to use Prisma to generate database tables in Docker - Stack Overflow
TLDR: Does anyone have a tutorial on how to set up Node (Next.js) + Prisma + Postgres with Docker Compose in 2023?
Hey everyone! I'm a junior Python developer who has been getting into web dev lately, and I've been struggling on a problem for days without a solution. I was hoping someone here might be able to help!
Specifically, I'm having trouble dockerizing a Next.js application that uses Prisma + Postgres. I'm hoping someone might be able to provide some guidance on how to do this in 2023. All of the tutorials I've seen have had different methods of doing this, some using deprecated compose features, some setting up Prisma as a separate service, etc. Any guidance is appreciated!