dockerfile for whisper cpp cli
This commit is contained in:
13
whisper-cpp-2023/Dockerfile
Normal file
13
whisper-cpp-2023/Dockerfile
Normal 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 []
|
||||
Reference in New Issue
Block a user