#Dockerfile for OpenVoice CPU-compatible Hugging Face Space | |
FROM python:3.10-slim | |
#System dependencies | |
RUN apt-get update && | |
apt-get install -y git ffmpeg libsndfile1 libglib2.0-0 libsm6 libxext6 libxrender-dev fontconfig && | |
apt-get clean && rm -rf /var/lib/apt/lists/* | |
#Create app directory | |
WORKDIR /app | |
#Install Python dependencies | |
COPY requirements.txt ./ RUN pip install --no | |