Access Prisma binaries without network #17496
Replies: 3 comments 4 replies
-
Hello @tom-laplace 👋 Have you tried adding environment variables for Custom Engine File locations? |
Beta Was this translation helpful? Give feedback.
-
export PRISMA_CLI_QUERY_ENGINE_TYPE=binary
export PRISMA_SCHEMA_ENGINE_BINARY=${schema_engine_binary_path}
export PRISMA_QUERY_ENGINE_LIBRARY=${query_engine_binary_path}
export PRISMA_QUERY_ENGINE_BINARY=${query_engine_binary_path} Also if prisma requires introspection and migration binaries for its job, need to set these. export PRISMA_INTROSPECTION_ENGINE_BINARY=${introspection_engine_binary_path}
export PRISMA_MIGRATION_ENGINE_BINARY=${migration_engine_binary_path} |
Beta Was this translation helpful? Give feedback.
-
Hi there, To keep our discussions organized and focused on the most relevant topics, we’re reviewing and tidying up our backlog. As part of this process, we’re closing discussions that haven’t had any recent activity and appear to be outdated. If this discussion is still important to you or unresolved, we’d love to hear from you! Feel free to reopen it or start a new one with updated details. For more details about our priorities and vision for the future of Prisma ORM, check out our latest blog post: https://www.prisma.io/blog/prisma-orm-manifesto. Thank you for your understanding and being part of the community! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Bug description
Hey, i'm trying to run 'npx prisma migrate deploy' in a CI pipeline who doesn't have network but Prisma want absolutely to go search binaries online.
Here is the Dockerfile :
How to reproduce
Expected behavior
Prisma to go search local binaries when he can't access network.
Prisma information
// Add your schema.prisma
generator client {
provider = "prisma-client-js"
binaryTargets = ["prisma-fmt-debian-openssl-3.0.x"]
}
Environment & setup
Prisma Version
Beta Was this translation helpful? Give feedback.
All reactions