Spaces:
Runtime error
Runtime error
Download Dockerfile from Chaitu2112/questiongeneration: direct link, hf CLI and curl.
- Browser
- Download file 380 Bytes
-
https://huggingface.co/spaces/Chaitu2112/questiongeneration/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Chaitu2112/questiongeneration/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Chaitu2112/questiongeneration/resolve/main/Dockerfile
380 Bytes
| FROM python:3.12-slim | |
| RUN apt-get update && apt-get install -y ffmpeg | |
| WORKDIR /app | |
| # Copy requirements and install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy your application | |
| COPY . . | |
| # Expose the port Hugging Face expects | |
| EXPOSE 7860 | |
| # Run your FastAPI app | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |