Download examples/fastapi/Dockerfile from chipling/fasthost: direct link, hf CLI and curl.
- Browser
- Download file 170 Bytes
-
https://huggingface.co/spaces/chipling/fasthost/resolve/main/examples/fastapi/Dockerfile
- Command line
-
hf download hf://spaces/chipling/fasthost/examples/fastapi/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/chipling/fasthost/resolve/main/examples/fastapi/Dockerfile
170 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY . /app | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080"] | |