dockerfile for whisper cpp cli

master
Bel LaPointe 2023-03-30 09:16:28 -06:00
parent 8cd1c2861f
commit f8ee67a8c5
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
FROM debian:buster
RUN apt -y update && apt -y install build-essential wget
WORKDIR /tmp/whisper-cpp.git.d
RUN wget https://github.com/ggerganov/whisper.cpp/archive/refs/tags/v1.2.1.tar.gz \
&& tar -xf ./*.tar.gz \
&& ls
RUN cd ./whisper*/ && bash ./models/download-ggml-model.sh tiny.en && make
RUN cd ./whisper*/ && ./main -m models/ggml-tiny.en.bin -f samples/jfk.wav
ENTRYPOINT []
CMD []