hstz commited on
Commit
35b3f9d
1 Parent(s): 3d1cad3

Create start.sh

Browse files
Files changed (1) hide show
  1. start.sh +6 -0
start.sh ADDED
@@ -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