Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Removed Prisma fixes from v5.

Mike Cao6e158be4aca7
diff --git a/Dockerfile b/Dockerfile
index 824c16db0..be0b850ad 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -36,8 +36,8 @@ RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs
RUN set -x \
- && apk add --no-cache curl openssl \
- && yarn add npm-run-all dotenv semver [email protected]
+ && apk add --no-cache curl \
+ && yarn add npm-run-all dotenv semver prisma
# You only need to copy next.config.js if you are NOT using the default configuration
COPY --from=builder /app/next.config.js .
diff --git a/db/mysql/schema.prisma b/db/mysql/schema.prisma
index 476e445f3..2c5bec4e2 100644
--- a/db/mysql/schema.prisma
+++ b/db/mysql/schema.prisma
@@ -1,6 +1,6 @@
generator client {
provider = "prisma-client-js"
- binaryTargets = ["native", "linux-musl-openssl-3.0.x", "linux-musl-arm64-openssl-3.0.x"]
+ binaryTargets = ["native"]
}
datasource db {
diff --git a/db/postgresql/schema.prisma b/db/postgresql/schema.prisma
index b95e4c52b..8f063f8f0 100644
--- a/db/postgresql/schema.prisma
+++ b/db/postgresql/schema.prisma
@@ -1,6 +1,6 @@
generator client {
provider = "prisma-client-js"
- binaryTargets = ["native", "linux-musl-openssl-3.0.x", "linux-musl-arm64-openssl-3.0.x"]
+ binaryTargets = ["native"]
}
datasource db {