Skip to content

Commit

Permalink
gh-664: Update the docker files with the environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
dinukadesilva committed Jul 17, 2020
1 parent a31eb55 commit 967a01a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
3 changes: 2 additions & 1 deletion results-tabulation-ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ RUN npm install
ENV REACT_APP_AUTH_APP_URL="https://tabulations.ecdev.opensource.lk"
ENV REACT_APP_TABULATION_API_URL="https://apim-gateway.ecdev.opensource.lk/tabulation/0.1.0"
ENV REACT_APP_DEBUG=true
ENV TABULATION_API_PAGINATION_LIMIT=250
ENV REACT_APP_TABULATION_API_PAGINATION_LIMIT=250
ENV REACT_APP_USE_PDF_SERVICE=true

RUN npm run build

Expand Down
4 changes: 3 additions & 1 deletion results-tabulation-ui/Stage.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ RUN npm install

ENV REACT_APP_AUTH_APP_URL="https://tabulations.ecstage.opensource.lk"
ENV REACT_APP_TABULATION_API_URL="https://apim-gw.ecstage.opensource.lk/tabulation/0.1.0"
ENV TABULATION_API_PAGINATION_LIMIT=250
ENV REACT_APP_DEBUG=false
ENV REACT_APP_TABULATION_API_PAGINATION_LIMIT=250
ENV REACT_APP_USE_PDF_SERVICE=true

RUN npm run build

Expand Down
4 changes: 3 additions & 1 deletion results-tabulation-ui/Staging.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ RUN npm install

ENV REACT_APP_AUTH_APP_URL="https://tabulations.ecstag.opensource.lk"
ENV REACT_APP_TABULATION_API_URL="https://apim-gw.ecstag.opensource.lk/tabulation/0.1.0"
ENV TABULATION_API_PAGINATION_LIMIT=250
ENV REACT_APP_DEBUG=false
ENV REACT_APP_TABULATION_API_PAGINATION_LIMIT=250
ENV REACT_APP_USE_PDF_SERVICE=true

RUN npm run build

Expand Down
4 changes: 3 additions & 1 deletion results-tabulation-ui/prod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ RUN npm install

ENV REACT_APP_AUTH_APP_URL="https://tabulations-lgc.elections.gov.lk"
ENV REACT_APP_TABULATION_API_URL="https://apim-gw-lgc.elections.gov.lk/tabulation/0.1.0"
ENV TABULATION_API_PAGINATION_LIMIT=250
ENV REACT_APP_DEBUG=false
ENV REACT_APP_TABULATION_API_PAGINATION_LIMIT=250
ENV REACT_APP_USE_PDF_SERVICE=true

RUN npm run build

Expand Down

0 comments on commit 967a01a

Please sign in to comment.