smcantrell's picture
Update Dockerfile
dd48770 verified
Raw
History Blame Contribute Delete
414 Bytes
FROM python:3.12-slim
WORKDIR /app
RUN apt-get update && apt-get install -y \
git \
cmake \
build-essential \
espeak-ng \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY server.py .
COPY nyako_prosody.py .
COPY nyako_voices.json .
COPY core/ ./core/
COPY voices/ ./voices/
EXPOSE 7860
CMD ["python", "server.py"]