Download Dockerfile from rr1/oprt: direct link, hf CLI and curl.
- Browser
- Download file 213 Bytes
-
https://huggingface.co/spaces/rr1/oprt/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/rr1/oprt/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/rr1/oprt/resolve/main/Dockerfile
213 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Install dependencies | |
| RUN pip install flask requests | |
| # Copy the application code | |
| COPY app.py . | |
| # Expose the port | |
| EXPOSE 7860 | |
| # Run the application | |
| CMD ["python", "app.py"] | |