#!/usr/bin/env bash set -euo pipefail if [[ "${RUN_DB_MIGRATIONS:-true}" == "true" ]]; then alembic upgrade head fi if [[ "${RUN_RUNTIME_PREFLIGHT:-true}" == "true" ]]; then python -m supply_infra.pipeline.preflight fi exec /usr/bin/supervisord -c /app/deploy/supervisord.pipeline.conf