mirror of
https://github.com/voice-cloning-app/Voice-Cloning-App.git
synced 2026-08-29 10:09:19 +02:00
Fix docker install
This commit is contained in:
20
Dockerfile
20
Dockerfile
@@ -1,16 +1,20 @@
|
|||||||
FROM pytorch/pytorch:1.7.0-cuda11.0-cudnn8-runtime
|
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
|
# Setup
|
||||||
RUN apt-get update
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . /app
|
COPY application/ /app/application
|
||||||
|
COPY dataset/ /app/dataset
|
||||||
# FFMPEG
|
COPY training/ /app/training
|
||||||
RUN apt-get install -y ffmpeg
|
COPY synthesis/ /app/synthesis
|
||||||
|
COPY main.py /app
|
||||||
|
COPY requirements.txt /app
|
||||||
|
|
||||||
# Python dependencies
|
# Python dependencies
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
# Start app
|
# Start app
|
||||||
ENTRYPOINT [ "python3" ]
|
CMD [ "python3", "main.py" ]
|
||||||
CMD [ "main.py" ]
|
|
||||||
|
|||||||
Reference in New Issue
Block a user