Skip to content

Commit

Permalink
fix: ajoute les variables d'env dans le dockerfile (000)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime authored and Maxgux committed Nov 19, 2024
1 parent 7c951c3 commit c9f6a18
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/front/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ VITE_SENTRY_DSN=https://[email protected]
VITE_SENTRY_ORG=mps-5u
VITE_SENTRY_PROJET=frontend
VITE_SENTRY_AUTH_TOKEN=xxx


# Si vous ajoutez des variables d'env ne pas oublier de les ajouter dans le Dockerfile et sur Gitlab pour les avoir en prod
8 changes: 8 additions & 0 deletions app/front/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ ARG VITE_KEYCLOAK_ROYAUME_URL
ARG VITE_KEYCLOAK_CLIENT_ID
ARG VITE_KEYCLOAK_CLIENT_SECRET
ARG VITE_TEST_MODE
ARG VITE_FF_MOYENNE_GENERALE
ARG VITE_PARCOURSUP_OAUTH2_URL
ARG VITE_PARCOURSUP_OAUTH2_CLIENT
ARG VITE_SENTRY_DSN
ARG VITE_SENTRY_ORG
ARG VITE_SENTRY_PROJET
ARG VITE_LAISSER_AVIS_URL
ARG VITE_ENV

# Set the working directory in the container
WORKDIR /app
Expand Down

0 comments on commit c9f6a18

Please sign in to comment.