YouTube-Voice-API / Dockerfile
abdelati88's picture
Update Dockerfile
b10bc9a verified
FROM python:3.10
WORKDIR /code
RUN apt-get update && apt-get install -y ffmpeg cmake git espeak-ng && rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir --upgrade pip setuptools wheel
RUN pip install --no-cache-dir torch torchaudio --index-url https://download.pytorch.org/whl/cpu
RUN pip install --no-cache-dir git+https://github.com/resemble-ai/chatterbox.git
RUN pip install --no-cache-dir "gradio==3.48.0" numpy
COPY . .
CMD ["python", "app.py"]