uncloseai-speech/Dockerfile.min
2023-11-27 20:02:28 -05:00

17 lines
518 B
Text

FROM ubuntu:22.04
# tts-1 only
RUN apt-get update && \
apt-get install --no-install-recommends -y wget ffmpeg python-is-python3 python3-pip python3-yaml python3-fastapi python3-uvicorn && \
apt-get clean && rm -rf /var/lib/apt/lists/*
RUN pip install piper-tts
#RUN git clone https://github.com/matatonic/openedai-speech /app
RUN mkdir -p /app/voices
COPY *.py *.yaml *.txt *.md *.sh LICENSE /app/
WORKDIR /app
RUN download_voices_tts-1.sh
CMD python main.py --host 0.0.0.0 --port 8000 --xtts_device none