#Transitioned my API to App router, now failing to build as it calls Prisma in docker build.

4 messages · Page 1 of 1 (latest)

nocturne tendon
#

Seems like it's trying to call Prisma but this endpoint is unavailable while Docker is still spinning up.

#
#0 79.64 Error:
#0 79.64 Invalid `prisma.table.deleteMany()` invocation:
#0 79.64
#0 79.64
#0 79.64 Can't reach database server at `db`:`5432`
#0 79.64
#0 79.64 Please make sure your database server is running at `db`:`5432`.
nocturne tendon
#

is there a way to disable pre-rendering the api endpoint? the docs seem to be a bit outdated or make it tricky to find out more about this feature. 😦