GPTfree api commited on
Commit
b74d368
·
verified ·
1 Parent(s): 6fcd23d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -10
Dockerfile CHANGED
@@ -10,17 +10,9 @@ RUN apt-get update && apt-get install -y \
10
  libsndfile1 \
11
  && rm -rf /var/lib/apt/lists/*
12
 
13
- # Upgrade pip to avoid metadata issues
14
  RUN pip install --upgrade pip==23.3
15
 
16
- # Install necessary Python packages
17
- RUN pip install fairseq==0.12.2
18
- RUN pip install hydra-core==1.0.7
19
- RUN pip install librosa==0.8.1 numba==0.53.0
20
-
21
- # Disable numba JIT caching to avoid the error
22
- ENV NUMBA_DISABLE_JIT=1
23
-
24
  # Clone the repository
25
  WORKDIR /app
26
  RUN git clone https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI
@@ -28,9 +20,12 @@ RUN git clone https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-We
28
  # Set the working directory
29
  WORKDIR /app/Retrieval-based-Voice-Conversion-WebUI
30
 
31
- # Install remaining dependencies from requirements.txt
32
  RUN pip install -r requirements.txt
33
 
 
 
 
34
  # Expose the necessary port for the web interface
35
  EXPOSE 7897
36
 
 
10
  libsndfile1 \
11
  && rm -rf /var/lib/apt/lists/*
12
 
13
+ # Upgrade pip
14
  RUN pip install --upgrade pip==23.3
15
 
 
 
 
 
 
 
 
 
16
  # Clone the repository
17
  WORKDIR /app
18
  RUN git clone https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI
 
20
  # Set the working directory
21
  WORKDIR /app/Retrieval-based-Voice-Conversion-WebUI
22
 
23
+ # Install Python dependencies
24
  RUN pip install -r requirements.txt
25
 
26
+ # Ensure proper permissions for configs directory
27
+ RUN chmod -R ugo+rw configs
28
+
29
  # Expose the necessary port for the web interface
30
  EXPOSE 7897
31