Download Dockerfile from spvice/dev: direct link, hf CLI and curl.
- Browser
- Download file 288 Bytes
-
https://huggingface.co/spaces/spvice/dev/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/spvice/dev/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/spvice/dev/resolve/main/Dockerfile
288 Bytes
| # 直接使用你已经构建好的镜像 | |
| FROM istorkbox/test1:latest | |
| # Hugging Face 要求必须监听 7860 | |
| ENV PORT=7860 | |
| # 确保对外暴露 7860 | |
| EXPOSE 7860 | |
| # 入口保持不变(如果你的镜像里 CMD 已经定义,就可以省略) | |
| CMD ["python", "download_youtube_run.py"] |