Download Dockerfile from shahid202/Testing: direct link, hf CLI and curl.
- Browser
- Download file 352 Bytes
-
https://huggingface.co/spaces/shahid202/Testing/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/shahid202/Testing/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/shahid202/Testing/resolve/main/Dockerfile
352 Bytes
| FROM python:3.10-slim | |
| RUN apt-get update && apt-get install -y espeak-ng libsndfile1 ffmpeg && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| RUN pip install --no-cache-dir fastapi uvicorn[standard] transformers torch accelerate kokoro>=0.9.2 soundfile numpy websockets | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] | |