Parler_TTS_API / Dockerfile
aspirant312's picture
Simplify Dockerfile - use python:3.11 with straightforward setup
2ae3e5e
Raw
History Blame Contribute Delete
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"]