dat_test_voice / Dockerfile
presencesw's picture
fix: change to espeak-ng
e3e86d9
raw
history blame contribute delete
516 Bytes
FROM python:3.12
WORKDIR /app
COPY ./requirements.txt /app/requirements.txt
# RUN apt-get update && apt-get install -y espeak
RUN apt-get update && apt-get install -y espeak-ng espeak-ng-data
RUN pip install --no-cache-dir -r requirements.txt
RUN pip uninstall -y uvloop
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user
ENV PATH=/home/user/.local/bin:$PATH
# ENV GRADIO_SERVER_NAME=“0.0.0.0”
# ENV GRADIO_SERVER_PORT=7860
WORKDIR $HOME/app
COPY --chown=user . $HOME/app
CMD [ "python", "app.py" ]