Spaces:
Runtime error
Runtime error
Download Dockerfile from VoiceClips/voiceclips-sync: direct link, hf CLI and curl.
- Browser
- Download file 461 Bytes
-
https://huggingface.co/spaces/VoiceClips/voiceclips-sync/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/VoiceClips/voiceclips-sync/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/VoiceClips/voiceclips-sync/resolve/main/Dockerfile
461 Bytes
| FROM python:3.9-slim | |
| # System dependencies including FFmpeg | |
| RUN apt-get update && apt-get install -y \ | |
| ffmpeg \ | |
| libsm6 \ | |
| libxext6 \ | |
| git \ | |
| fontconfig \ | |
| fonts-dejavu \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| # Requirements installation | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy application files | |
| COPY . . | |
| # Expose port 7860 for Hugging Face Spaces | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |