Download Dockerfile from don0726/pp: direct link, hf CLI and curl.
- Browser
- Download file 309 Bytes
-
https://huggingface.co/spaces/don0726/pp/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/don0726/pp/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/don0726/pp/resolve/main/Dockerfile
309 Bytes
| FROM python:3.10 | |
| WORKDIR /app | |
| # Accept XTTS license | |
| ENV COQUI_TOS_AGREED=1 | |
| COPY requirements.txt . | |
| RUN apt-get update && apt-get install -y ffmpeg | |
| RUN pip install --upgrade pip | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |