Spaces:
Runtime error
Runtime error
File size: 196 Bytes
85e98ba |
1 2 3 4 5 6 7 8 9 |
#!/bin/bash
cd backend
# Start FastAPI app in the background on port 8000
uvicorn app:app --host 0.0.0.0 --port 8000 --workers 1 & echo $! > http_server.pid
# Start Nginx
nginx -g 'daemon off;'
|