Spaces:
Sleeping
Sleeping
Download Dockerfile from ebitlogix/Parler_TTS_API: direct link, hf CLI and curl.
- Browser
- Download file 302 Bytes
-
https://huggingface.co/spaces/ebitlogix/Parler_TTS_API/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ebitlogix/Parler_TTS_API/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ebitlogix/Parler_TTS_API/resolve/main/Dockerfile
302 Bytes
| FROM python:3.11 | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y git libsndfile1 ffmpeg | |
| COPY requirements.txt . | |
| RUN pip install -r requirements.txt | |
| RUN pip install uvicorn[standard] | |
| COPY api.py . | |
| EXPOSE 7860 | |
| CMD ["python", "-m", "uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"] | |