Spaces:
Paused

studydocker / entrypoint.sh
mingli2038's picture
add entrypoint16
e6a4b31
Raw History Blame Contribute Delete
221 Bytes
#!/bin/bash
#!/bin/bash
set -e
python -m pyxtermjs --host 0.0.0.0 -p 7860 &
# 启动 python 应用
python app.py
# 启动 Caddy(前台,作为主进程)
exec caddy run --config /app/Caddyfile --adapter caddyfile