aboutsummaryrefslogtreecommitdiffstats
path: root/docker_entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker_entrypoint.sh')
-rwxr-xr-xdocker_entrypoint.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker_entrypoint.sh b/docker_entrypoint.sh
index 823086f..4092155 100755
--- a/docker_entrypoint.sh
+++ b/docker_entrypoint.sh
@@ -24,4 +24,7 @@ set -eu
envsubst '${BFF_URL} ${NGINX_PORT} ${KEYCLOAK_URL} ${KEYCLOAK_REALM} ${KEYCLOAK_INTERNAL_URL} ${CLUSTER_NAMESERVER_IP}' < ./nginx.template > /etc/nginx/conf.d/default.conf
+# dynamically set Angular environment config upon container startup
+envsubst < /usr/share/nginx/html/assets/env.template.js > /usr/share/nginx/html/assets/env.js
+
exec "$@"