[SOLVED] Prisma won't build consistently with the same Dockerfile specs

Hi, when bundling an app with Prisma, it works on a node:20 and node:20-alpine locally. When building with the same machines on Github Action ubuntu-latest runner they fail with the following error:
PrismaClientValidationError: Invalid client engine type, please use `library` or `binary`
PrismaClientValidationError: Invalid client engine type, please use `library` or `binary`
For context, I'm trying to have both Accelerate (for Vercel) and Standalone (Long-running) together. And here is the PR (including failed builds): https://github.com/dreampipcom/hypnos/pull/41 Only difference is the Docker Info (obviously) and my network settings (firewalls included). Why is that so? Is there anything else I need to do?
GitHub
ar(feat) [DPTM-8] [DPCP-88] [DPCP-81] [DPCP-118] Dockerize and GCP ...
PLEASE REVIEW YOUR OWN PR BEFORE OPENING/UN-DRAFTING IT [Ticket Title] [ticket description] Screenshots/Videocasts/Preview Links Have you? Reviewed your own PR? Tested your own feature/fix meets...
Solution:
Solved: Missing NEXUS_STANDALONE environment variable in "base as build" Docker execution context. Rationale: in my local machine, the environment variable was available at a higher reference point....
Jump to solution
2 Replies
angeloreale
angelorealeOP3mo ago
GitHub
Prisma won't build consistently with the same Dockerfile specs · Is...
Bug description Hi, when bundling an app with Prisma, it works on a node:20 and node:20-alpine locally. When building with the same machines on Github Action ubuntu-latest runner they fail with the...
Solution
angeloreale
angeloreale3mo ago
Solved: Missing NEXUS_STANDALONE environment variable in "base as build" Docker execution context. Rationale: in my local machine, the environment variable was available at a higher reference point.
Want results from more Discord servers?
Add your server