Spaces:
Running
Running
| set -e | |
| # If CONFIG_JSON environment variable is set, write it to /app/config.json | |
| if [ -n "$CONFIG_JSON" ]; then | |
| echo "$CONFIG_JSON" > /app/config.json | |
| echo "Config loaded from CONFIG_JSON environment variable" | |
| fi | |
| exec python -m gemini_web2api --config /app/config.json |