Replies: 1 comment 2 replies
-
The reason it's so big is that the underlying query engine is packed into that folder as well which is then bundled into the Go repo at build time. It is not needed to put this into the docker image at runtime, in fact it should not be done this way; you can and should ignore these files with .dockerignore (e.g. using Let me know if this helps or if you still have concerns. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have simple prisma schema with 4 tables.
After generate phase
go run github.com/steebchen/prisma-client-go generate
db folder is too big - 50mb.I would like to pack my app into docker image, but I need to pack this 50mb of some mess into my docker image.
It's really necessary, or is there any better way?
I also checked https://goprisma.org/docs/reference/deploy/docker , but looks like my code is correct.
Docker file:
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions