File size: 552 Bytes
29af78d
3d7d81b
 
 
29af78d
 
 
 
 
3d7d81b
 
 
 
 
 
 
 
 
 
 
 
 
 
26c234b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM python:3.11

WORKDIR /app

COPY  requirements-complete.txt .
RUN pip install -r  requirements-complete.txt

COPY requirements-rvc.txt .
RUN pip install -r requirements-rvc.txt

RUN mkdir /.cache && chmod -R 777 /.cache
RUN mkdir .chroma && chmod -R 777 .chroma

COPY . .


RUN chmod -R 777 /app

RUN --mount=type=secret,id=password,mode=0444,required=true \
   cat /run/secrets/password > /test

EXPOSE 7860

CMD ["python", "server.py", "--cpu", "--enable-modules=caption,summarize,classify,silero-tts,edge-tts,coqui-tts,rvc,talkinghead,chromadb"]