Spaces:
Runtime error
Runtime error
nsthorat-lilac
commited on
Commit
•
ff22ae5
1
Parent(s):
bf69c83
Upload docker_start.sh with huggingface_hub
Browse files- docker_start.sh +10 -0
docker_start.sh
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
# Fail if any of the commands below fail.
|
4 |
+
set -e
|
5 |
+
|
6 |
+
python docker_start.py
|
7 |
+
gunicorn lilac.server:app \
|
8 |
+
--bind 0.0.0.0:5432 \
|
9 |
+
--preload -k uvicorn.workers.UvicornWorker \
|
10 |
+
--timeout 120
|