Generating client without a connection to DB

Hello, I want to generate the client as part of building my docker image. This building of the image will run inside a CI/CD pipeline. Just for generating the client Prisma wants to connect to the database which is not possible inside the pipeline. Is there a way to generate the client without the need of a running DBMS? Why is there the need to have a runnign DBMS in the first place? Greetings
2 Replies
Prisma AI Help
You decided to hold for human wisdom. We'll chime in soon! Meanwhile, #ask-ai is there if you need a quick second opinion.
François
FrançoisOP3w ago
It was --sql passed to the generate command.

Did you find this page helpful?