Download Dockerfile from ramy21/pred: direct link, hf CLI and curl.
- Browser
- Download file 183 Bytes
-
https://huggingface.co/spaces/ramy21/pred/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ramy21/pred/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ramy21/pred/resolve/main/Dockerfile
183 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY app.py . | |
| COPY model.pkl . | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |