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 <seanhatfield5@gmail.com>
Co-authored-by: timothycarambat <rambat1010@gmail.com>
This commit is contained in:
Marcello Fitton
2025-11-19 15:11:53 -08:00
committed by GitHub
parent e892c9b9b8
commit fd9256b361
2 changed files with 3 additions and 1 deletions

View File

@@ -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