-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (19 loc) · 764 Bytes
/
Dockerfile
File metadata and controls
28 lines (19 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM pytorch/pytorch:latest
ARG DEBIAN_FRONTEND=noninteractive
WORKDIR /
RUN apt update && apt install -y git make
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
RUN git clone https://github.com/Mangio621/Mangio-RVC-Fork rvc_repo
WORKDIR /rvc_repo
RUN make install && make basev2
WORKDIR /
RUN apt install -y wget curl unzip
RUN pip install --upgrade python-magic
COPY swap/infer-web.py /rvc_repo/infer-web.py
RUN mkdir /rvc_serverless
COPY main.py /rvc_serverless/main.py
COPY test.py /rvc_serverless/test.py
COPY test_input.json /rvc_serverless/000_test_input.json
COPY modelmanager.py /rvc_serverless/modelmanager.py
COPY requirements.txt /rvc_serverless/requirements.txt
RUN pip install --upgrade -r /rvc_serverless/requirements.txt