Spaces:
Sleeping
Sleeping
Download Dockerfile from muhammadhabibna/dashsight: direct link, hf CLI and curl.
- Browser
- Download file 338 Bytes
-
https://huggingface.co/spaces/muhammadhabibna/dashsight/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/muhammadhabibna/dashsight/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/muhammadhabibna/dashsight/resolve/main/Dockerfile
338 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
| # Copy main code and data | |
| COPY . . | |
| # Hugging Face Spaces exposes port 7860 by default | |
| EXPOSE 7860 | |
| # Run the FastAPI server | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] | |