Spaces:
Build error
Build error
GPTfree api
commited on
Update Dockerfile
Browse files- Dockerfile +5 -7
Dockerfile
CHANGED
@@ -13,23 +13,21 @@ RUN apt-get update && apt-get install -y \
|
|
13 |
# Upgrade pip to handle metadata issues
|
14 |
RUN pip install --upgrade pip
|
15 |
|
16 |
-
#
|
17 |
-
|
18 |
|
19 |
# Clone the repository
|
|
|
20 |
RUN git clone https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI
|
21 |
|
22 |
# Set the working directory to the cloned repo
|
23 |
WORKDIR /app/Retrieval-based-Voice-Conversion-WebUI
|
24 |
|
25 |
-
# Install fairseq and hydra-core
|
26 |
RUN pip install fairseq==0.12.2
|
27 |
RUN pip install hydra-core==1.0.7
|
28 |
|
29 |
-
#
|
30 |
-
RUN sed -i 's/omegaconf<2.1/omegaconf>=2.0.5,<2.1/' requirements.txt
|
31 |
-
|
32 |
-
# Install remaining dependencies
|
33 |
RUN pip install -r requirements.txt
|
34 |
|
35 |
# Expose the port that the web UI will use
|
|
|
13 |
# Upgrade pip to handle metadata issues
|
14 |
RUN pip install --upgrade pip
|
15 |
|
16 |
+
# Install specific compatible version of omegaconf first
|
17 |
+
RUN pip install omegaconf==2.0.5
|
18 |
|
19 |
# Clone the repository
|
20 |
+
WORKDIR /app
|
21 |
RUN git clone https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI
|
22 |
|
23 |
# Set the working directory to the cloned repo
|
24 |
WORKDIR /app/Retrieval-based-Voice-Conversion-WebUI
|
25 |
|
26 |
+
# Install fairseq and hydra-core separately to resolve dependencies
|
27 |
RUN pip install fairseq==0.12.2
|
28 |
RUN pip install hydra-core==1.0.7
|
29 |
|
30 |
+
# Install the remaining dependencies from requirements.txt
|
|
|
|
|
|
|
31 |
RUN pip install -r requirements.txt
|
32 |
|
33 |
# Expose the port that the web UI will use
|