Spaces:
Running
Running
Download Dockerfile from BenjaminBleske/3DGS: direct link, hf CLI and curl.
- Browser
- Download file 285 Bytes
-
https://huggingface.co/spaces/BenjaminBleske/3DGS/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/BenjaminBleske/3DGS/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/BenjaminBleske/3DGS/resolve/main/Dockerfile
285 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Install explicit requirements | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy all files | |
| COPY . . | |
| # Hugging Face exposes Port 7860 | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] | |