Spaces:
Sleeping
Sleeping
Download Dockerfile from intisarhasnain/floorplan-detect: direct link, hf CLI and curl.
- Browser
- Download file 306 Bytes
-
https://huggingface.co/spaces/intisarhasnain/floorplan-detect/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/intisarhasnain/floorplan-detect/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/intisarhasnain/floorplan-detect/resolve/main/Dockerfile
306 Bytes
| FROM python:3.11 | |
| WORKDIR /app | |
| # Fix for libGL missing error | |
| RUN apt-get update && apt-get install -y \ | |
| libgl1 \ | |
| libglib2.0-0 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install -r requirements.txt | |
| COPY . . | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |