diff --git a/frontend/.docker/entrypoint.sh b/frontend/.docker/entrypoint.sh index 7aa167e..3842b5a 100755 --- a/frontend/.docker/entrypoint.sh +++ b/frontend/.docker/entrypoint.sh @@ -3,11 +3,5 @@ : ${BACKEND_HOST:=localhost} : ${BACKEND_PORT:=8080} -# Wait until the backend host is resolvable -echo "Waiting for backend host $BACKEND_HOST..." -until getent hosts "$BACKEND_HOST" > /dev/null; do - sleep 1 -done - envsubst '$BACKEND_HOST $BACKEND_PORT' < /etc/nginx/templates/nginx.conf.template > /etc/nginx/conf.d/default.conf exec nginx -g 'daemon off;'