Spaces:
Sleeping
Sleeping
Download Dockerfile from Rohannk/FirstModelRL: direct link, hf CLI and curl.
- Browser
- Download file 238 Bytes
-
https://huggingface.co/spaces/Rohannk/FirstModelRL/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Rohannk/FirstModelRL/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Rohannk/FirstModelRL/resolve/main/Dockerfile
238 Bytes
| FROM python:3.10-slim | |
| ENV PYTHONUNBUFFERED=1 | |
| WORKDIR /app | |
| COPY . . | |
| RUN pip install --no-cache-dir --upgrade pip \ | |
| && pip install fastapi uvicorn | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "inference:app", "--host", "0.0.0.0", "--port", "7860"] |