CosyVoice2-0.5B / Dockerfile
eligapris's picture
init
5f76f26 verified
raw
history blame contribute delete
543 Bytes
FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
ffmpeg \
git \
sox \
libsox-dev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY . .
RUN export PYTHONPATH=third_party/Matcha-TTS
RUN pip3 install --no-cache-dir -r requirements.txt
# Expose port for the main application
EXPOSE 7860
# Configure server to be accessible externally
ENV SERVER_NAME=0.0.0.0
ENV SERVER_PORT=7860
CMD ["python3", "app.py"]