Skip to content

Commit

Permalink
Ajoute les vars d'env. pour le tracking dans le build du module d'aut…
Browse files Browse the repository at this point in the history
…hent.
  • Loading branch information
marc-rutkowski committed Apr 25, 2024
1 parent dfa1d94 commit cccd1dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -449,10 +449,14 @@ auth-build: ## construit l'image du module d'authentification
ARG PLATFORM
ARG --required ANON_KEY
ARG --required API_URL
ARG POSTHOG_HOST
ARG POSTHOG_KEY
ARG vars
FROM +front-deps
ENV NEXT_PUBLIC_SUPABASE_ANON_KEY=$ANON_KEY
ENV NEXT_PUBLIC_SUPABASE_URL=$API_URL
ENV NEXT_PUBLIC_POSTHOG_HOST=$POSTHOG_HOST
ENV NEXT_PUBLIC_POSTHOG_KEY=$POSTHOG_KEY
ENV NEXT_TELEMETRY_DISABLED=1
ENV PUBLIC_PATH="/app/packages/auth/public"
ENV PORT=80
Expand Down

0 comments on commit cccd1dc

Please sign in to comment.