udpate dockerfile

This commit is contained in:
Chris W 2023-10-06 17:34:31 -06:00
parent 9d1fefa941
commit 145ae85120
1 changed files with 11 additions and 0 deletions

View File

@ -10,6 +10,17 @@ RUN npm ci --silent
COPY . ./
# Pass through the necessary environment variables
ARG SITE_URL=${SITE_URL}
ARG DB_URL=${DB_URL}
ARG SENTRY_DSN=${SENTRY_DSN}
ARG PUBLIC_GOOGLE_ANALYTICS_SITE_ID=${PUBLIC_GOOGLE_ANALYTICS_SITE_ID}
ARG PUBLIC_PLAUSIBLE_URL=${PUBLIC_PLAUSIBLE_URL}
ARG PUBLIC_PLAUSIBLE_DOMAIN=${PUBLIC_PLAUSIBLE_DOMAIN}
ARG PUBLIC_ACKEE_URL=${PUBLIC_ACKEE_URL}
ARG PUBLIC_ACKEE_DOMAIN_ID=${PUBLIC_ACKEE_DOMAIN_ID}
ARG PUBLIC_MATOMO_URL=${PUBLIC_MATOMO_URL}
ARG PUBLIC_MATOMO_SITE_ID=${PUBLIC_MATOMO_SITE_ID}
ENV SITE_URL=${SITE_URL}
ENV DB_URL=${DB_URL}
ENV SENTRY_DSN=${SENTRY_DSN}