Skip to content

Commit

Permalink
Change bceidboth to bceidbusiness, dashboard sub in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisrobbo-aot committed Jan 20, 2025
1 parent 40484bc commit 0847b7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM caddy:2.8.4-alpine
ARG DASHBOARD=onroutebc-prod-frontend.apps.silver.devops.gov.bc.ca
COPY Caddyfile /etc/caddy/Caddyfile
COPY static_home_page /var/www/onroute
# Replace placeholder for host name in source index.html
RUN echo "DASHBOARD=\$DASHBOARD"
# Replace placeholder for dashboard in source index.html
#RUN echo "DASHBOARD=\$DASHBOARD"
RUN sed -i "s/{{DASHBOARD}}/${DASHBOARD}/g" /var/www/onroute/index.html
RUN caddy fmt /etc/caddy/Caddyfile

Expand Down
2 changes: 1 addition & 1 deletion frontend/static_home_page/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ <h3>Term Oversize and Term Overweight Permits</h3>
<a
role="button"
class="btn btn--blue"
href="https://{{DASHBOARD}}/?idpHint=bceidboth"
href="https://{{DASHBOARD}}/?idpHint=bceidbusiness"
>
Log into onRouteBC
</a>
Expand Down

0 comments on commit 0847b7d

Please sign in to comment.