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"