Spaces:
Sleeping
Sleeping
Download Dockerfile from ghstedpixel/BRIE: direct link, hf CLI and curl.
- Browser
- Download file 519 Bytes
-
https://huggingface.co/spaces/ghstedpixel/BRIE/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ghstedpixel/BRIE/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ghstedpixel/BRIE/resolve/main/Dockerfile
519 Bytes
| # Use a slim Python image for efficiency | |
| FROM python:3.11-slim | |
| # Install system dependencies for XGBoost and DuckDB | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Set the working directory | |
| WORKDIR /app | |
| # Cache Buster: v1.0.1 | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy your code into the container | |
| COPY . . | |
| # Hugging Face Spaces run on port 7860 | |
| EXPOSE 7860 | |
| # Tell Docker to run your main script | |
| CMD ["python", "app.py"] |