File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ RUN apt-get update \
2626 && apt-get install -y --no-install-recommends \
2727 ffmpeg \
2828 libespeak-ng1 \
29- espeak-ng-data \
3029 ca-certificates \
3130 curl \
3231 && mkdir -p /usr/local/share/piper-voices \
@@ -35,7 +34,7 @@ RUN apt-get update \
3534 && mv /tmp/piper/piper /usr/local/bin/piper \
3635 && chmod +x /usr/local/bin/piper \
3736 && find /tmp/piper -name '*.so*' -exec cp {} /usr/local/lib/ \; \
38- && if [ -d /tmp/piper/espeak-ng-data ]; then cp -R /tmp/piper/espeak-ng-data /usr/local/ share/; fi \
37+ && if [ -d /tmp/piper/espeak-ng-data ]; then cp -R /tmp/piper/espeak-ng-data /usr/share/; else ln -sf /usr/lib/x86_64-linux-gnu/espeak-ng-data /usr/ share/espeak-ng-data ; fi \
3938 && ldconfig \
4039 && rm -rf /tmp/piper /tmp/piper.tar.gz \
4140 && 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