Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
hstz
/
no
like
0
Running
App
Files
Files
Community
hstz
commited on
26 days ago
Commit
35b3f9d
•
1 Parent(s):
3d1cad3
Create start.sh
Browse files
Files changed (1)
hide
show
start.sh
+6
-0
start.sh
ADDED
Viewed
@@ -0,0 +1,6 @@
1
+
#!/bin/bash
2
+
echo "nameserver 8.8.8.8" > /tmp/resolv.conf
3
+
export RESOLV_CONF=/tmp/resolv.conf
4
+
exec "$@"
5
+
nginx -g 'daemon off;' &
6
+
uvicorn app:app --host 0.0.0.0 --port 10000 --timeout-keep-alive 320