GPTfree api commited on
Commit
4964574
·
verified ·
1 Parent(s): c97da20

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -8
Dockerfile CHANGED
@@ -10,11 +10,15 @@ RUN apt-get update && apt-get install -y \
10
  git \
11
  && rm -rf /var/lib/apt/lists/*
12
 
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
@@ -23,10 +27,6 @@ RUN git clone https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-We
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
 
 
10
  git \
11
  && rm -rf /var/lib/apt/lists/*
12
 
13
+ # Upgrade pip to a compatible version to handle metadata issues
14
+ RUN pip install --upgrade pip==23.3
15
 
16
+ # Install fairseq and hydra-core separately to resolve dependencies
17
+ RUN pip install fairseq==0.12.2
18
+ RUN pip install hydra-core==1.0.7
19
+
20
+ # Install a compatible version of omegaconf manually
21
+ RUN pip install omegaconf==2.0.4
22
 
23
  # Clone the repository
24
  WORKDIR /app
 
27
  # Set the working directory to the cloned repo
28
  WORKDIR /app/Retrieval-based-Voice-Conversion-WebUI
29
 
 
 
 
 
30
  # Install the remaining dependencies from requirements.txt
31
  RUN pip install -r requirements.txt
32