Issues with prisma docker deployments

Hey, locally i am able to use prisma well, but when i deploy to docker, issues start popping up, like this one:
2024-07-22 22:57:55.535
PrismaClientValidationError:
2024-07-22 22:57:55.535
Invalid `prisma.device.findMany()` invocation:
2024-07-22 22:57:55.535
{
2024-07-22 22:57:55.535
userId: {
2024-07-22 22:57:55.535
where: {
2024-07-22 22:57:55.535
~
2024-07-22 22:57:55.535
v: 1729,
2024-07-22 22:57:55.535
? in?: Int[] | ListIntFieldRefInput,
2024-07-22 22:57:55.535
? equals?: Int | IntFieldRefInput,
2024-07-22 22:57:55.535
? lt?: Int | IntFieldRefInput,
2024-07-22 22:57:55.535
? notIn?: Int[] | ListIntFieldRefInput,
2024-07-22 22:57:55.535
? gte?: Int | IntFieldRefInput,


2024-07-22 22:57:55.535
? gt?: Int | IntFieldRefInput,
2024-07-22 22:57:55.535
? lte?: Int | IntFieldRefInput,
2024-07-22 22:57:55.535
}
2024-07-22 22:57:55.535
? not?: Int | NestedIntFilter
2024-07-22 22:57:55.535
select: {
2024-07-22 22:57:55.535
},
2024-07-22 22:57:55.535
PrismaClientValidationError:
2024-07-22 22:57:55.535
Invalid `prisma.device.findMany()` invocation:
2024-07-22 22:57:55.535
{
2024-07-22 22:57:55.535
userId: {
2024-07-22 22:57:55.535
where: {
2024-07-22 22:57:55.535
~
2024-07-22 22:57:55.535
v: 1729,
2024-07-22 22:57:55.535
? in?: Int[] | ListIntFieldRefInput,
2024-07-22 22:57:55.535
? equals?: Int | IntFieldRefInput,
2024-07-22 22:57:55.535
? lt?: Int | IntFieldRefInput,
2024-07-22 22:57:55.535
? notIn?: Int[] | ListIntFieldRefInput,
2024-07-22 22:57:55.535
? gte?: Int | IntFieldRefInput,


2024-07-22 22:57:55.535
? gt?: Int | IntFieldRefInput,
2024-07-22 22:57:55.535
? lte?: Int | IntFieldRefInput,
2024-07-22 22:57:55.535
}
2024-07-22 22:57:55.535
? not?: Int | NestedIntFilter
2024-07-22 22:57:55.535
select: {
2024-07-22 22:57:55.535
},
3 Replies
rohanrajpal
rohanrajpal2mo ago
Gist
prisma runtime log
GitHub Gist: instantly share code, notes, and snippets.
rohanrajpal
rohanrajpal2mo ago
a better log problem is that the docker build and run works on my m1 mac, but not on fly.io, which is linux amd64 platform i'm using node-slim by the way, is that supported by prisma? used node-alpine too no luck
rohanrajpal
rohanrajpal2mo ago
have shared this issue here for more visibility: https://github.com/prisma/prisma/discussions/24864
GitHub
PrismaClientValidationError Docker Prisma & Pnpm Workspaces · pri...
Question Hey, i just tried to dockerize my prisma app, its a pnpm monorepo with the following structure Here's the dockerfile FROM node:20-slim AS base ENV PNPM_HOME="/pnpm" ENV PATH=...
Want results from more Discord servers?
Add your server