Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +7 -4
Dockerfile
CHANGED
@@ -1,9 +1,12 @@
|
|
1 |
-
FROM python:3.
|
2 |
|
3 |
WORKDIR /app
|
4 |
|
5 |
-
COPY
|
6 |
-
RUN pip install -r
|
|
|
|
|
|
|
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"]
|