Spaces:
Sleeping
Sleeping
Download Dockerfile from doasyousay/quickrelay: direct link, hf CLI and curl.
- Browser
- Download file 202 Bytes
-
https://huggingface.co/spaces/doasyousay/quickrelay/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/doasyousay/quickrelay/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/doasyousay/quickrelay/resolve/main/Dockerfile
202 Bytes
| FROM python:3.9-slim | |
| # 安装依赖 | |
| RUN pip install fastapi uvicorn "httpx[socks]" | |
| # 复制应用代码 | |
| COPY app.py . | |
| # 启动服务 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |