luhya-tts-api / Dockerfile
crazydev919's picture
Upload Dockerfile with huggingface_hub
a13e407 verified
Raw
History Blame Contribute Delete
350 Bytes
FROM python:3.11
WORKDIR /app
RUN apt-get update && apt-get install -y git ffmpeg
RUN pip install --no-cache-dir \
torch torchaudio --index-url https://download.pytorch.org/whl/cpu
RUN pip install --no-cache-dir \
fastapi uvicorn \
huggingface_hub \
soundfile \
transformers
COPY app.py .
EXPOSE 7860
CMD ["python", "app.py"]