Download Dockerfile.hf from sitcod3/modul-x: direct link, hf CLI and curl.
- Browser
- Download file 422 Bytes
-
https://huggingface.co/spaces/sitcod3/modul-x/resolve/main/Dockerfile.hf
- Command line
-
hf download hf://spaces/sitcod3/modul-x/Dockerfile.hf
-
curl -L -o Dockerfile.hf https://huggingface.co/spaces/sitcod3/modul-x/resolve/main/Dockerfile.hf
422 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Install system dependencies | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| curl \ | |
| build-essential \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Install Python dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"] | |