#!/bin/sh -eu
cd "$RUN_DIR"
[ -z "${DEBUG:-}" ] || set -x
exec uvicorn \
--host "$API_HOST" \
--port "$API_PORT" \
--reload \
--factory \
unwind:create_app