Spaces:
Sleeping
Sleeping
Download Dockerfile from starkbyte45896/Quiz_Generator: direct link, hf CLI and curl.
- Browser
- Download file 348 Bytes
-
https://huggingface.co/spaces/starkbyte45896/Quiz_Generator/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/starkbyte45896/Quiz_Generator/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/starkbyte45896/Quiz_Generator/resolve/main/Dockerfile
348 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Install system dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| libmupdf-dev build-essential \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Install Python packages | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy app files | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |