WillemVH commited on
Commit
c1d701e
·
verified ·
1 Parent(s): c3519b8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -5
Dockerfile CHANGED
@@ -1,15 +1,19 @@
1
- # Stage 1: Builder for MBROLA
2
  FROM debian:bookworm as mbrola-builder
3
 
4
  RUN apt-get update && \
5
- apt-get install -y wget unzip && \
6
  rm -rf /var/lib/apt/lists/*
7
 
8
- # Get MBROLA binary from my personal mirror (guaranteed to work)
9
- RUN wget https://tts-tools.s3.amazonaws.com/mbrola-linux-amd64 -O /mbrola && \
 
 
 
 
10
  chmod +x /mbrola
11
 
12
- # Get voices from GitHub archive
13
  RUN wget https://github.com/numediart/MBROLA-voices/archive/refs/heads/master.zip -O /voices.zip && \
14
  unzip /voices.zip -d / && \
15
  rm /voices.zip
 
1
+ # Stage 1: Build MBROLA from source
2
  FROM debian:bookworm as mbrola-builder
3
 
4
  RUN apt-get update && \
5
+ apt-get install -y build-essential wget unzip && \
6
  rm -rf /var/lib/apt/lists/*
7
 
8
+ # Download and build MBROLA from source
9
+ RUN wget https://github.com/numediart/MBROLA/archive/refs/heads/master.zip -O /mbrola-src.zip && \
10
+ unzip /mbrola-src.zip -d / && \
11
+ cd /MBROLA-master && \
12
+ make && \
13
+ mv Bin/mbrola /mbrola && \
14
  chmod +x /mbrola
15
 
16
+ # Download voices
17
  RUN wget https://github.com/numediart/MBROLA-voices/archive/refs/heads/master.zip -O /voices.zip && \
18
  unzip /voices.zip -d / && \
19
  rm /voices.zip