Download Dockerfile from s-ttp/vitals: direct link, hf CLI and curl.
- Browser
- Download file 267 Bytes
-
https://huggingface.co/spaces/s-ttp/vitals/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/s-ttp/vitals/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/s-ttp/vitals/resolve/main/Dockerfile
267 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| ENV PYTHONUNBUFFERED=1 PIP_NO_CACHE_DIR=1 CACHE_DIR=/tmp/pa_cache | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |