Spaces:
Paused
Paused
Download Dockerfile from Xquantum555/daddy: direct link, hf CLI and curl.
- Browser
- Download file 460 Bytes
-
https://huggingface.co/spaces/Xquantum555/daddy/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Xquantum555/daddy/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Xquantum555/daddy/resolve/main/Dockerfile
460 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| git \ | |
| curl \ | |
| libcurl4-openssl-dev \ | |
| libssl-dev \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN git clone https://github.com/MarkMCFC/tfms.xyz . | |
| RUN pip install flask curl-cffi m3u8 gunicorn | |
| ENV PYTHONPATH=/app | |
| EXPOSE 7860 | |
| CMD ["gunicorn", "--workers", "5", "--worker-class", "gthread", "--threads", "4", "--bind", "0.0.0.0:7860", "proxy:app"] | |