Reduce Size of Prisma Docker Image #1057
Unanswered
ShadowFox88
asked this question in
Q&A
Replies: 1 comment
-
dupe of prisma/prisma#25937 since they told me to move here |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
I'm using the python client for prisma, and whenever i run the command, I end up with around 600MB of just .cache, which is for some reason recreated EVERY time i run the prisma command. How would I go about trying to reduce the image, as just including prisma bumped up that count from ~200MB to ~1.2GB including dependencies. I've tried making builder stages, but it always ends up failing.
How to reproduce (optional)
No response
Expected behavior (optional)
No response
Information about Prisma Schema, Client Queries and Environment (optional)
My Dockerfile:
Beta Was this translation helpful? Give feedback.
All reactions