| |
| FROM python:3.10-slim |
|
|
| |
| WORKDIR /app |
|
|
| |
| RUN apt-get update && apt-get install -y \ |
| git \ |
| ffmpeg \ |
| espeak-ng \ |
| build-essential \ |
| python3-dev \ |
| && rm -rf /var/lib/apt/lists/* |
|
|
| |
| RUN pip install --no-cache-dir torch torchaudio --index-url https://download.pytorch.org/whl/cu118 |
|
|
| |
| RUN pip install --no-cache-dir git+https://github.com/coqui-ai/TTS.git |
|
|
| |
| RUN pip install --no-cache-dir transformers==4.42.4 |
|
|
| |
| RUN pip install --no-cache-dir gradio spaces numpy==1.26.4 supabase |
|
|
| |
| COPY . . |
|
|
| |
| EXPOSE 7860 |
|
|
| |
| CMD ["python", "app.py"] |