baiwan02 commited on
Commit
c6e1b30
·
verified ·
1 Parent(s): 856448a

Create entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +10 -0
entrypoint.sh ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ set -e
3
+
4
+ # If CONFIG_JSON environment variable is set, write it to /app/config.json
5
+ if [ -n "$CONFIG_JSON" ]; then
6
+ echo "$CONFIG_JSON" > /app/config.json
7
+ echo "Config loaded from CONFIG_JSON environment variable"
8
+ fi
9
+
10
+ exec python -m gemini_web2api