mirror of
https://github.com/voice-cloning-app/Voice-Cloning-App.git
synced 2026-02-24 12:10:29 +01:00
21 lines
426 B
Docker
21 lines
426 B
Docker
FROM pytorch/pytorch:1.9.0-cuda11.1-cudnn8-runtime
|
|
|
|
# Lib dependencies
|
|
RUN apt-get update
|
|
RUN apt-get install -y ffmpeg build-essential
|
|
|
|
# Setup
|
|
WORKDIR /app
|
|
COPY application/ /app/application
|
|
COPY dataset/ /app/dataset
|
|
COPY training/ /app/training
|
|
COPY synthesis/ /app/synthesis
|
|
COPY main.py /app
|
|
COPY requirements.txt /app
|
|
|
|
# Python dependencies
|
|
RUN pip install -r requirements.txt
|
|
|
|
# Start app
|
|
CMD [ "python3", "main.py" ]
|