Commit a2ebf597 authored by Raul Sirel's avatar Raul Sirel

Update entrypoint.sh

parent 95cba669
......@@ -4,4 +4,10 @@ set -xe
sed -i "s#REST_API_URL_REPLACE#$EMBEDDIA_API_URL#g" /usr/share/nginx/html/main*.js
set -xe
: "${NLG_API_URL?Need an api url}"
sed -i "s#NLG_API_URL_REPLACE#$NLG_API_URL#g" /usr/share/nginx/html/main*.js
exec "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment