Spaces:
Sleeping
Sleeping
Download Dockerfile from gnosticdev/video-dubbing-agent: direct link, hf CLI and curl.
- Browser
- Download file 597 Bytes
-
https://huggingface.co/spaces/gnosticdev/video-dubbing-agent/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/gnosticdev/video-dubbing-agent/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/gnosticdev/video-dubbing-agent/resolve/main/Dockerfile
597 Bytes
| FROM python:3.11-slim | |
| RUN apt-get update && \ | |
| apt-get install -y --no-install-recommends ffmpeg && \ | |
| rm -rf /var/lib/apt/lists/* | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV PATH="/home/user/.local/bin:$PATH" | |
| WORKDIR /home/user/app | |
| COPY --chown=user:user requirements.txt . | |
| RUN pip install --no-cache-dir --user -r requirements.txt | |
| # Install faster-whisper separately (lighter than full whisperx) | |
| RUN pip install --no-cache-dir --user faster-whisper || echo "faster-whisper install skipped" | |
| COPY --chown=user:user . . | |
| RUN mkdir -p temp_jobs static | |
| EXPOSE 7860 | |
| CMD ["python", "main.py"] | |