ki-frontend/entrypoint.sh

10 lines
144 B
Bash
Raw Normal View History

#!/bin/bash
set -o errexit
: ${KI_API_URL:=http://ki-backend:5000}
sed -e "s%\$KI_API_URL%$KI_API_URL%g" config.js.in > config.js
exec "$@"