mirofish-engine / deploy /start.sh
VinOS Agent
feat: HF Spaces production deployment (Docker + nginx on port 7860)
b24d6d6
raw
history blame contribute delete
467 Bytes
#!/bin/bash
echo "============================================"
echo " MiroFish Engine - Starting on HF Spaces"
echo "============================================"
# Start Flask backend in background
echo "[MiroFish] Starting Flask backend on port 5001..."
cd /app/backend && python run.py &
# Wait a moment for Flask to initialize
sleep 3
# Start nginx in foreground (keeps container alive)
echo "[MiroFish] Starting nginx on port 7860..."
nginx -g "daemon off;"