Download Dockerfile from Dekinginc/pyth_tts: direct link, hf CLI and curl.
- Browser
- Download file 264 Bytes
-
https://huggingface.co/spaces/Dekinginc/pyth_tts/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Dekinginc/pyth_tts/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Dekinginc/pyth_tts/resolve/main/Dockerfile
264 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y espeak-ng ffmpeg | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip | |
| RUN pip install -r requirements.txt | |
| COPY . . | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] | |