Set prisma binaryTargets (#387)

This commit is contained in:
Luke Vella 2023-01-11 18:20:54 +00:00 committed by GitHub
parent ee77fb9afa
commit aa8810a9db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 1 deletions

5
docker-compose.local.yml Normal file
View file

@ -0,0 +1,5 @@
# Build and run the project locally
services:
rallly:
build:
context: .

View file

@ -1,4 +1,3 @@
version: "3.9"
services:
rallly_db:
image: postgres:14.2

View file

@ -7,6 +7,7 @@ datasource db {
generator client {
provider = "prisma-client-js"
previewFeatures = ["referentialIntegrity"]
binaryTargets = ["native"]
}
model User {