WillemVH commited on
Commit
9a0c427
·
verified ·
1 Parent(s): 997e06a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -1,20 +1,20 @@
1
  FROM python:3.9-slim
2
 
3
- # 1. Install base dependencies
4
  RUN apt-get update && \
5
  apt-get install -y espeak-ng ffmpeg wget && \
6
  rm -rf /var/lib/apt/lists/*
7
 
8
- # 2. Manually install MBROLA (not in Debian repos)
9
- RUN wget https://github.com/numediart/MBROLA/raw/master/Binaries/mbrola-linux-i386 -O /usr/bin/mbrola && \
10
  chmod +x /usr/bin/mbrola && \
11
  mkdir -p /usr/share/mbrola
12
 
13
- # 3. Download MBROLA voices
14
  COPY download_voices.sh .
15
  RUN chmod +x download_voices.sh && ./download_voices.sh
16
 
17
- # 4. Set up app
18
  WORKDIR /app
19
  COPY . .
20
  RUN pip install -r requirements.txt
 
1
  FROM python:3.9-slim
2
 
3
+ # Install system dependencies
4
  RUN apt-get update && \
5
  apt-get install -y espeak-ng ffmpeg wget && \
6
  rm -rf /var/lib/apt/lists/*
7
 
8
+ # Install MBROLA from correct URL (updated)
9
+ RUN wget https://github.com/numediart/MBROLA/releases/download/3.3/mbrola-linux-amd64 -O /usr/bin/mbrola && \
10
  chmod +x /usr/bin/mbrola && \
11
  mkdir -p /usr/share/mbrola
12
 
13
+ # Download MBROLA voices
14
  COPY download_voices.sh .
15
  RUN chmod +x download_voices.sh && ./download_voices.sh
16
 
17
+ # Set up app
18
  WORKDIR /app
19
  COPY . .
20
  RUN pip install -r requirements.txt