Prisma migration issue on BlitzJS project

Hi @jaaouany ,

You can take a look at this thread since it’s related.

In a nutshell :chestnut:, you can’t run RUN npx prisma migrate deploy since it’s executed at the build time of your container and the build process does not have access to your database. I would recommend using an entrypoint.sh and executing the migrate command before that your node process starts. You can take a look at this guide.

1 Like