-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hub: Change Docker setup for Prisma (#3500)
Prisma queries were failing with errors like this: ``` Error: Invalid `prisma.$queryRaw()` invocation: Unable to load Node-API Library from /workspace/node_modules/.prisma/client/libquery_engine-linux-musl.so.node, Library may be corrupt ``` The culprit was that the `node:14-alpine` Docker image that Hub runs on was [updated](https://github.com/yobasystems/alpine/blob/935827272dfe303a11b870e61a00b25f1a6d938e/CHANGELOG#L21) and OpenSSL 3.0 became the default. This adapts a fix mentioned [here](t3-oss/create-t3-app#975 (comment)), but we wanted to be able to stay on `node:14-alpine` (latest) vs having to pin to an older version (3.16 was the working one). This also updates `@prisma/client` to match the `prisma` version to bypass [this error](https://github.com/cardstack/cardstack/actions/runs/3704795929/jobs/6278311091#step:6:20).
- Loading branch information
Showing
3 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters