Skip to content

Commit

Permalink
local timezone added for prod and stag env
Browse files Browse the repository at this point in the history
  • Loading branch information
Yujith Isura authored and Yujith Isura committed Mar 23, 2020
1 parent 96d75ad commit 516d2de
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/Production.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ ENV REACT_APP_AUTH_BASE_URL=https://nominations.elections.gov.lk
ENV REACT_APP_NOMINATION_URL=https://nominations.elections.gov.lk

RUN npm run build
RUN rm /etc/localtime
RUN ln -s /usr/share/zoneinfo/Asia/Colombo /etc/localtime

FROM nginx:1.15

Expand Down
2 changes: 2 additions & 0 deletions client/Staging.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ ENV REACT_APP_AUTH_BASE_URL=https://nominations.ecstag.opensource.lk
ENV REACT_APP_NOMINATION_URL=https://nominations.ecstag.opensource.lk

RUN npm run build
RUN rm /etc/localtime
RUN ln -s /usr/share/zoneinfo/Asia/Colombo /etc/localtime

FROM nginx:1.15

Expand Down
2 changes: 2 additions & 0 deletions client/Training.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ ENV REACT_APP_AUTH_BASE_URL=https://nominations.training.elections.gov.lk
ENV REACT_APP_NOMINATION_URL=https://nominations.training.elections.gov.lk

RUN npm run build
RUN rm /etc/localtime
RUN ln -s /usr/share/zoneinfo/Asia/Colombo /etc/localtime

FROM nginx:1.15

Expand Down

0 comments on commit 516d2de

Please sign in to comment.