Download Dockerfile from marcode3/hf-single-cpu-basic-probe-20260808-021627: direct link, hf CLI and curl.
- Browser
- Download file 234 Bytes
-
https://huggingface.co/spaces/marcode3/hf-single-cpu-basic-probe-20260808-021627/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/marcode3/hf-single-cpu-basic-probe-20260808-021627/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/marcode3/hf-single-cpu-basic-probe-20260808-021627/resolve/main/Dockerfile
234 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| RUN printf 'from http.server import HTTPServer, SimpleHTTPRequestHandler\nHTTPServer(("0.0.0.0",7860), SimpleHTTPRequestHandler).serve_forever()\n' > server.py | |
| EXPOSE 7860 | |
| CMD ["python","server.py"] | |