callentrin_test / Dockerfile
rishidahiya's picture
Update Dockerfile
216a3c4 verified
raw
history blame contribute delete
548 Bytes
FROM python:3.10-slim
WORKDIR /app
RUN apt-get update && apt-get install -y ffmpeg git && rm -rf /var/lib/apt/lists/*
RUN git clone https://github.com/CorentinJ/Real-Time-Voice-Cloning.git .
RUN pip install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
RUN pip install --no-cache-dir librosa==0.9.2 matplotlib numpy scipy numba inflect==5.6.2 unidecode Pillow soundfile flask flask-cors python-dotenv gradio
RUN mkdir -p saved_models
COPY app.py /app/app.py
EXPOSE 7860
CMD ["python", "app.py"]