randusertry commited on
Commit
f7ffb94
·
verified ·
1 Parent(s): 680e093

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -3,6 +3,7 @@ FROM python:3.10-slim
3
  RUN apt-get update && apt-get install -y \
4
  espeak-ng \
5
  wget \
 
6
  && rm -rf /var/lib/apt/lists/*
7
 
8
  RUN useradd -m -u 1000 user
@@ -22,6 +23,8 @@ RUN while read -r voice; do \
22
  wget -q -nd "https://huggingface.co/rhasspy/piper-voices/resolve/main/$voice" -P models/ || exit 1; \
23
  done < voices.txt
24
 
 
 
25
 
26
  # 3. Copy the rest of the app
27
  COPY --chown=user . .
 
3
  RUN apt-get update && apt-get install -y \
4
  espeak-ng \
5
  wget \
6
+ g++ \
7
  && rm -rf /var/lib/apt/lists/*
8
 
9
  RUN useradd -m -u 1000 user
 
23
  wget -q -nd "https://huggingface.co/rhasspy/piper-voices/resolve/main/$voice" -P models/ || exit 1; \
24
  done < voices.txt
25
 
26
+ RUN wget -q "https://huggingface.co/gweltou/breton-tts/resolve/main/model.onnx" -O models/breton-model.onnx && \
27
+ wget -q "https://huggingface.co/gweltou/breton-tts/resolve/main/tokens.txt" -O models/breton-tokens.txt
28
 
29
  # 3. Copy the rest of the app
30
  COPY --chown=user . .