From 776b2e9e1845b65d06921b598f0a4e17d1f81a9c Mon Sep 17 00:00:00 2001 From: Sergiu Vidrascu Date: Fri, 21 Sep 2018 20:08:38 +0300 Subject: [PATCH] fix #653 - fixing issue caused by missing \ in docker entrypoint (#655) * fix #653 : add basepath modification at runtime trough env vars * Fix typo in sed command --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index df7a273a9..0ad90a962 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -4,7 +4,7 @@ if [[ $ACSURL ]]; then sed -i s%{protocol}//{hostname}{:port}%"$ACSURL"%g /usr/share/nginx/html/app.config.json fi if [[ $BASEPATH ]]; then - sed -i s%href=\"./"%href=\""$BASEPATH"\"%g /usr/share/nginx/html/index.html + sed -i s%href=\"./\"%href=\""$BASEPATH"\"%g /usr/share/nginx/html/index.html fi nginx -g "daemon off;"