mikeion commited on
Commit
bdc38c0
·
verified ·
1 Parent(s): fbb188b

Update docker_start.sh

Browse files
Files changed (1) hide show
  1. docker_start.sh +13 -0
docker_start.sh CHANGED
@@ -8,3 +8,16 @@ gunicorn lilac.server:app \
8
  --bind 0.0.0.0:5432 \
9
  --preload -k uvicorn.workers.UvicornWorker \
10
  --timeout 120
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  --bind 0.0.0.0:5432 \
9
  --preload -k uvicorn.workers.UvicornWorker \
10
  --timeout 120
11
+
12
+ #!/bin/bash
13
+
14
+ # Check if the HUGGINGFACE_TOKEN is set at runtime
15
+ echo "Checking if HUGGINGFACE_TOKEN is set at runtime..."
16
+ if [ -z "${HUGGINGFACE_TOKEN}" ]; then
17
+ echo "HUGGINGFACE_TOKEN is not set at runtime."
18
+ else
19
+ echo "HUGGINGFACE_TOKEN is set at runtime."
20
+ fi
21
+
22
+ # The rest of your script to start your application
23
+