Skip to content

Commit 1e77657

Browse files
committed
actually copy the model
1 parent 2c1ef86 commit 1e77657

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

backend/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ RUN pip3 install vosk --target=/vosk
66

77
RUN git clone https://github.com/ideasman42/nerd-dictation.git
88

9-
RUN cd nerd-dictation && wget https://alphacephei.com/kaldi/models/vosk-model-small-en-us-0.15.zip && unzip vosk-model-small-en-us-0.15.zip && rm vosk-model-small-en-us-0.15.zip
9+
RUN wget https://alphacephei.com/kaldi/models/vosk-model-small-en-us-0.15.zip && unzip vosk-model-small-en-us-0.15.zip && rm vosk-model-small-en-us-0.15.zip
1010

1111
ENTRYPOINT [ "/backend/entrypoint.sh" ]

backend/entrypoint.sh

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ cd /backend
66
cp -r /vosk /backend/out/
77

88
cp -r /nerd-dictation /backend/out/
9+
10+
cp -r /vosk-model-small-en-us-0.15 /backend/out/

0 commit comments

Comments
 (0)