Update Dockerfile

This commit is contained in:
Robert Dunmire III
2025-01-12 16:15:38 -05:00
parent 21c78839fb
commit 9005cedcf2
+5
View File
@@ -76,6 +76,11 @@ RUN mkdir -p /app/piper && \
mv /work/install/lib*.so* /app/lib/ &&\
cp -rf /work/install/* /app/piper/
RUN \
wget -q https://github.com/microsoft/onnxruntime/releases/download/v1.14.1/onnxruntime-linux-x64-gpu-1.14.1.tgz -O - | \
tar -zxvf - -C /tmp/ &&\
cp /tmp/onnxruntime-linux-x64-gpu-1.14.1/lib/* /app/lib/
RUN \
cd /app/lib/python3.10/site-packages/wyoming_piper/; \
for file in /tmp/wyoming_piper*.diff;do patch -p0 --forward < $file;done;