From fd9256b3619314de3c7d1bebf711acc6bd19d306 Mon Sep 17 00:00:00 2001 From: Marcello Fitton <106866560+angelplusultra@users.noreply.github.com> Date: Wed, 19 Nov 2025 15:11:53 -0800 Subject: [PATCH] Disable Prisma CLI Telemetry in Entrypoint Shell Script (#4609) * propogate anythingllm telemetry settings to prisma * Disable Prisma CLI telemetry in Docker entrypoint script * Delete incorrect disable block * test build --------- Co-authored-by: shatfield4 Co-authored-by: timothycarambat --- .github/workflows/dev-build.yaml | 2 +- docker/docker-entrypoint.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dev-build.yaml b/.github/workflows/dev-build.yaml index ef1d99f5..7bc59546 100644 --- a/.github/workflows/dev-build.yaml +++ b/.github/workflows/dev-build.yaml @@ -6,7 +6,7 @@ concurrency: on: push: - branches: ['gemini-migration-agents'] # put your current branch to create a build. Core team only. + branches: ['4534-disable-prisma-telemetry'] # put your current branch to create a build. Core team only. paths-ignore: - '**.md' - 'cloud-deployments/*' diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index 80296acc..37ee927b 100755 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -18,6 +18,8 @@ fi { cd /app/server/ && + # Disable Prisma CLI telemetry (https://www.prisma.io/docs/orm/tools/prisma-cli#how-to-opt-out-of-data-collection) + export CHECKPOINT_DISABLE=1 && npx prisma generate --schema=./prisma/schema.prisma && npx prisma migrate deploy --schema=./prisma/schema.prisma && node /app/server/index.js