Spaces:
Runtime error
Runtime error
Download Dockerfile from MUSTJAB-KING/master: direct link, hf CLI and curl.
- Browser
- Download file 526 Bytes
-
https://huggingface.co/spaces/MUSTJAB-KING/master/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/MUSTJAB-KING/master/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/MUSTJAB-KING/master/resolve/main/Dockerfile
526 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # System dependencies install karein (ffmpeg video generation ke liye zaroori hai) | |
| RUN apt-get update && apt-get install -y \ | |
| git \ | |
| git-lfs \ | |
| ffmpeg \ | |
| libsm6 \ | |
| libxext6 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Python dependencies copy aur install karein | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # App ka baaki code copy karein | |
| COPY . . | |
| # Gradio default port expose karein | |
| EXPOSE 7860 | |
| # Application run karein | |
| CMD ["python", "app.py"] |