From 797159adb1cf5b7a7d48b668c1e71533bf573f0d Mon Sep 17 00:00:00 2001 From: "Kent C. Dodds" Date: Thu, 6 Jun 2024 10:45:38 -0600 Subject: [PATCH] fix sentry setup --- other/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/other/Dockerfile b/other/Dockerfile index f85eccd..14e6052 100644 --- a/other/Dockerfile +++ b/other/Dockerfile @@ -41,6 +41,9 @@ RUN npx prisma generate ADD . . +ENV SENTRY_ORG="kent-c-dodds-tech-llc" +ENV SENTRY_PROJECT="gratitext" + # Mount the secret and set it as an environment variable and run the build RUN --mount=type=secret,id=SENTRY_AUTH_TOKEN \ export SENTRY_AUTH_TOKEN=$(cat /run/secrets/SENTRY_AUTH_TOKEN) && \ @@ -49,8 +52,6 @@ RUN --mount=type=secret,id=SENTRY_AUTH_TOKEN \ # Finally, build the production image with minimal footprint FROM base -ENV SENTRY_ORG="kent-c-dodds-tech-llc" -ENV SENTRY_PROJECT="gratitext" ENV FLY="true" ENV LITEFS_DIR="/litefs/data" ENV DATABASE_FILENAME="sqlite.db"