GPTfree api commited on
Commit
57f6693
·
verified ·
1 Parent(s): f8f322d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -1
Dockerfile CHANGED
@@ -10,6 +10,9 @@ RUN apt-get update && apt-get install -y \
10
  git \
11
  && rm -rf /var/lib/apt/lists/*
12
 
 
 
 
13
  # Create and set the working directory
14
  WORKDIR /app
15
 
@@ -22,8 +25,11 @@ WORKDIR /app/Retrieval-based-Voice-Conversion-WebUI
22
  # Modify requirements.txt to install compatible omegaconf version
23
  RUN sed -i 's/omegaconf<2.1/omegaconf>=2.0.5,<2.1/' requirements.txt
24
 
 
 
 
 
25
  # Install Python dependencies
26
- RUN pip install --upgrade pip
27
  RUN pip install -r requirements.txt
28
 
29
  # Expose the port that the web UI will use
 
10
  git \
11
  && rm -rf /var/lib/apt/lists/*
12
 
13
+ # Upgrade pip to avoid metadata issues
14
+ RUN pip install --upgrade pip
15
+
16
  # Create and set the working directory
17
  WORKDIR /app
18
 
 
25
  # Modify requirements.txt to install compatible omegaconf version
26
  RUN sed -i 's/omegaconf<2.1/omegaconf>=2.0.5,<2.1/' requirements.txt
27
 
28
+ # Install fairseq and hydra-core explicitly first (separate installation)
29
+ RUN pip install fairseq==0.12.2
30
+ RUN pip install hydra-core==1.0.7
31
+
32
  # Install Python dependencies
 
33
  RUN pip install -r requirements.txt
34
 
35
  # Expose the port that the web UI will use