FROM python:3.11-slim WORKDIR /app RUN apt-get update && apt-get install -y \ git \ libsndfile1 \ ffmpeg \ && rm -rf /var/lib/apt/lists/* RUN pip install --no-cache-dir git+https://github.com/AI4Bharat/NeMo.git --no-deps COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY . . RUN mkdir -p /app/model_cache EXPOSE 7860 ENV GRADIO_SERVER_NAME="0.0.0.0" ENV HF_HOME="/app/model_cache" CMD ["python", "app-spaces.py"]