soiz1 commited on
Commit
73acf7b
·
verified ·
1 Parent(s): ac047ac

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,6 +1,6 @@
1
  FROM python:3.9-slim
2
 
3
- # Install necessary system packages
4
  RUN apt-get update && apt-get install -y \
5
  git \
6
  gcc g++ \
@@ -23,9 +23,9 @@ RUN pip install --upgrade pip==23.1 \
23
 
24
  # Ensure the hubert_base.pt model exists
25
  RUN mkdir -p assets/hubert \
26
- && wget -O assets/hubert/hubert_base.pt "https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/assets/hubert/hubert_base.pt"
27
 
28
- # Adjust permissions for /app and its subdirectories
29
  RUN chmod -R 777 /app
30
 
31
  # Ensure Matplotlib and Fontconfig have writable cache directories
 
1
  FROM python:3.9-slim
2
 
3
+ # Install necessary system packages, including wget
4
  RUN apt-get update && apt-get install -y \
5
  git \
6
  gcc g++ \
 
23
 
24
  # Ensure the hubert_base.pt model exists
25
  RUN mkdir -p assets/hubert \
26
+ && wget -O assets/hubert/hubert_base.pt "https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/hubert_base.pt?download=true"
27
 
28
+ # Adjust permissions
29
  RUN chmod -R 777 /app
30
 
31
  # Ensure Matplotlib and Fontconfig have writable cache directories