Download Dockerfile from Krixter/Tts_tele: direct link, hf CLI and curl.
- Browser
- Download file 495 Bytes
-
https://huggingface.co/spaces/Krixter/Tts_tele/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Krixter/Tts_tele/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Krixter/Tts_tele/resolve/main/Dockerfile
495 Bytes
| # HF Spaces – Docker SDK | |
| # This runs a plain Python bot (no web server needed for polling mode). | |
| FROM python:3.11-slim | |
| # Install ffmpeg (required for audio processing) | |
| RUN apt-get update && \ | |
| apt-get install -y --no-install-recommends ffmpeg && \ | |
| rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY bot.py . | |
| # HF Spaces requires a port to be exposed even for non-web apps | |
| EXPOSE 7860 | |
| CMD ["python", "bot.py"] | |