FROM python:3.11-slim
RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1 ffmpeg && rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir torch==2.8.0 torchaudio==2.8.0 --index-url https://download.pytorch.org/whl/cpu
RUN pip install --no-cache-dir omnivoice==0.2.1
WORKDIR /studio
ENV DIMTSI_CONTAINER=1
CMD ["python", "studio.py"]
