#!/bin/bash CORES=$(nproc) WORKERS=$((2 * CORES + 1)) cd /app/frontend && yarn dev & cd /app && uvicorn app.asgi:application --workers $WORKERS --host 0.0.0.0 --port 8000 --lifespan off --loop uvloop --ws websockets --reload & wait -n exit $?