Download Dockerfile from build-small-hackathon/grid-royale: direct link, hf CLI and curl.
- Browser
- Download file 400 Bytes
-
https://huggingface.co/spaces/build-small-hackathon/grid-royale/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/build-small-hackathon/grid-royale/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/build-small-hackathon/grid-royale/resolve/main/Dockerfile
400 Bytes
| FROM python:3.10-slim | |
| # Install system dependencies if any | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| curl \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| # Copy requirements and install python dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy all codebase files | |
| COPY . . | |
| # Run the FastAPI app | |
| CMD ["python", "main.py"] | |