Download Dockerfile from Bsweb1/dohserver: direct link, hf CLI and curl.
- Browser
- Download file 292 Bytes
-
https://huggingface.co/spaces/Bsweb1/dohserver/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Bsweb1/dohserver/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Bsweb1/dohserver/resolve/main/Dockerfile
292 Bytes
| FROM python:3.10-slim-buster | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y git | |
| RUN git clone https://github.com/flixtx/doh_dns.git . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "4"] |