| FROM python:3.10 | |
| RUN apt-get update && apt-get install -y \ | |
| ffmpeg \ | |
| git \ | |
| wget \ | |
| curl \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| RUN git clone https://github.com/Rudrabha/Wav2Lip.git wav2lip | |
| RUN mkdir -p checkpoints && \ | |
| wget -O checkpoints/wav2lip_gan.pth \ | |
| https://github.com/justinjohn0306/Wav2Lip/releases/download/models/wav2lip_gan.pth | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] |