uncloseai-speech/Dockerfile.min
2023-11-27 16:57:53 -05:00

16 lines
435 B
Text

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