11 lines
195 B
Bash
11 lines
195 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -o errexit
|
||
|
set +x
|
||
|
|
||
|
: ${KI_API_URL:=http://ki-backend:5000}
|
||
|
|
||
|
sed -e "s%\$KI_API_URL%$KI_API_URL%g" /usr/share/nginx/html/config.js.in > /usr/share/nginx/html/config.js
|
||
|
|
||
|
exec "$@"
|