gemini / entrypoint.sh
superdaobo
Deploy gemini-business2api without binary docs
f6c1709
Raw History Blame Contribute Delete
219 Bytes
#!/bin/bash
set -euo pipefail
# 启动 Xvfb 在后台
Xvfb :99 -screen 0 1280x800x24 -ac &
# 等待 Xvfb 启动
sleep 1
# 设置 DISPLAY 环境变量
export DISPLAY=:99
# 启动 Python 应用
exec python -u main.py