Skip to content

Commit

Permalink
Merge pull request #519 from codeforboston/mattdelsordo/ui-staging
Browse files Browse the repository at this point in the history
properly pass metadata env vars to dockerfile
  • Loading branch information
mattdelsordo authored Dec 15, 2023
2 parents f79e139 + f0ac07f commit 6dcb093
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions frontend/front/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ ENV REACT_APP_RECAPTCHA_KEY=$REACT_APP_RECAPTCHA_KEY
ARG REACT_APP_PUBLIC_SURVEY_ENABLED
ENV REACT_APP_PUBLIC_SURVEY_ENABLED=$REACT_APP_PUBLIC_SURVEY_ENABLED

ARG REACT_APP_GIT_SHA
ENV REACT_APP_GIT_SHA=$REACT_APP_GIT_SHA

ARG REACT_APP_GIT_REF
ENV REACT_APP_GIT_REF=$REACT_APP_GIT_REF

WORKDIR /usr/src/app
COPY frontend/front/ ./
RUN yarn
Expand Down

0 comments on commit 6dcb093

Please sign in to comment.