Reiner4 commited on
Commit
29af78d
1 Parent(s): 65fe463

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -4
Dockerfile CHANGED
@@ -1,9 +1,12 @@
1
- FROM python:3.10
2
 
3
  WORKDIR /app
4
 
5
- COPY requirements.txt .
6
- RUN pip install -r requirements.txt
 
 
 
7
 
8
  RUN mkdir /.cache && chmod -R 777 /.cache
9
  RUN mkdir .chroma && chmod -R 777 .chroma
@@ -18,4 +21,4 @@ RUN --mount=type=secret,id=password,mode=0444,required=true \
18
 
19
  EXPOSE 7860
20
 
21
- CMD ["python", "server.py", "--cpu", "--enable-modules=caption,summarize,classify,silero-tts,edge-tts,chromadb"]
 
1
+ FROM python:3.11
2
 
3
  WORKDIR /app
4
 
5
+ COPY requirements-complete.txt .
6
+ RUN pip install -r requirements-complete.txt
7
+
8
+ COPY requirements-rvc.txt .
9
+ RUN pip install -r requirements-rvc.txt
10
 
11
  RUN mkdir /.cache && chmod -R 777 /.cache
12
  RUN mkdir .chroma && chmod -R 777 .chroma
 
21
 
22
  EXPOSE 7860
23
 
24
+ CMD ["python", "server.py", "--cpu", "--enable-modules=caption,summarize,classify,silero-tts,edge-tts,rvc,chromadb"]