File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,14 +25,16 @@ ARG PIPER_VERSION=v1.2.0
2525RUN apt-get update \
2626 && apt-get install -y --no-install-recommends \
2727 ffmpeg \
28+ libespeak-ng1 \
2829 ca-certificates \
2930 curl \
3031 && mkdir -p /usr/local/share/piper-voices \
3132 && curl -fsSL "https://github.com/rhasspy/piper/releases/download/${PIPER_VERSION}/piper_amd64.tar.gz" -o /tmp/piper.tar.gz \
3233 && tar -xzf /tmp/piper.tar.gz -C /tmp \
3334 && mv /tmp/piper/piper /usr/local/bin/piper \
3435 && chmod +x /usr/local/bin/piper \
35- && find /tmp/piper -name 'libpiper_phonemize.so*' -exec cp {} /usr/local/lib/ \; \
36+ && find /tmp/piper -name '*.so*' -exec cp {} /usr/local/lib/ \; \
37+ && if [ -d /tmp/piper/espeak-ng-data ]; then cp -R /tmp/piper/espeak-ng-data /usr/local/share/; fi \
3638 && ldconfig \
3739 && rm -rf /tmp/piper /tmp/piper.tar.gz \
3840 && curl -fsSL "https://huggingface.co/rhasspy/piper-voices/resolve/main/en/en_US/norman/medium/en_US-norman-medium.onnx" -o /usr/local/share/piper-voices/en_US-norman-medium.onnx \
You can’t perform that action at this time.
0 commit comments