DEPLOY-550/DEPLOY-591: Adapt ACA docker image to accept full acs url (#644)

This commit is contained in:
Sergiu Vidrascu
2018-09-18 20:26:03 +03:00
committed by Denys Vuika
parent a9467dcc47
commit 3e03bd1520
2 changed files with 12 additions and 0 deletions

7
docker-entrypoint.sh Normal file
View File

@@ -0,0 +1,7 @@
#!/bin/sh
if [[ $ACSURL ]]; then
sed -i s%{protocol}//{hostname}{:port}%"$ACSURL"%g /usr/share/nginx/html/app.config.json
fi
nginx -g "daemon off;"