Spaces:
Runtime error
Runtime error
Download Dockerfile from Elysiadev11/proxycf: direct link, hf CLI and curl.
- Browser
- Download file 319 Bytes
-
https://huggingface.co/spaces/Elysiadev11/proxycf/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Elysiadev11/proxycf/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Elysiadev11/proxycf/resolve/main/Dockerfile
319 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONUNBUFFERED=1 | |
| RUN pip install --no-cache-dir fastapi "uvicorn[standard]" httpx python-multipart | |
| WORKDIR /app | |
| COPY proxy_cf.py /app/proxy_cf.py | |
| COPY dashboard.html /app/dashboard.html | |
| EXPOSE 7860 | |
| CMD ["python", "-m", "uvicorn", "proxy_cf:app", "--host", "0.0.0.0", "--port", "7860"] | |