Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
hamza82/docker
Btebbutt
/
docker-nginx2
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
f618ace
docker-nginx2
/
run.sh
hamza82
make this code runable and solve error
1201570
11 months ago
raw
Copy download link
history
blame
Safe
166 Bytes
#!/bin/bash
cd
backend
# Start FastAPI app in the background on port 8000
uvicorn app:app --host 0.0.0.0 --port 8000 --reload &
# Start Nginx
nginx -g
'daemon off;'