File size: 588 Bytes
b901d2c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #!/bin/sh
set -eu
PORT_VALUE="${PORT:-7860}"
echo "Starting Aether Voice Studio"
echo "Working directory: $(pwd)"
echo "Python: $(python --version 2>&1)"
echo "Port: ${PORT_VALUE}"
if [ ! -f /workspace/app/frontend/dist/index.html ]; then
echo "Frontend build is missing at /workspace/app/frontend/dist/index.html"
exit 1
fi
if [ ! -f /workspace/app/backend/main.py ]; then
echo "Backend entrypoint is missing at /workspace/app/backend/main.py"
exit 1
fi
exec python -m uvicorn main:app --app-dir /workspace/app/backend --host 0.0.0.0 --port "${PORT_VALUE}" --log-level info
|