Download Dockerfile from ramu23/ryza-api: direct link, hf CLI and curl.
- Browser
- Download file 226 Bytes
-
https://huggingface.co/spaces/ramu23/ryza-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ramu23/ryza-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ramu23/ryza-api/resolve/main/Dockerfile
226 Bytes
| FROM python:3.12-slim | |
| ENV PYTHONUNBUFFERED=1 \ | |
| PIP_NO_CACHE_DIR=1 | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install -r requirements.txt | |
| COPY app.py . | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |