Spaces:
Paused
Paused
Download entrypoint.sh from mingli2038/studydocker: direct link, hf CLI and curl.
- Browser
- Download file 221 Bytes
-
https://huggingface.co/spaces/mingli2038/studydocker/resolve/main/entrypoint.sh
- Command line
-
hf download hf://spaces/mingli2038/studydocker/entrypoint.sh
-
curl -L -o entrypoint.sh https://huggingface.co/spaces/mingli2038/studydocker/resolve/main/entrypoint.sh
221 Bytes
| #!/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 | |