Created
December 20, 2022 19:01
-
-
Save lfzawacki/c6724e92e21896416c8e4bd07e964924 to your computer and use it in GitHub Desktop.
Vosk Server Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alphacep/kaldi-vosk-server:latest | |
RUN mkdir /opt/vosk-model-pt_BR \ | |
&& cd /opt/vosk-model-pt_BR \ | |
&& wget -q https://alphacephei.com/vosk/models/vosk-model-pt-fb-v0.1.1-20220516_2113.zip \ | |
&& unzip vosk-model-pt-fb-v0.1.1-20220516_2113.zip \ | |
&& mv vosk-model-pt-fb-v0.1.1-20220516_2113 model \ | |
&& rm -rf vosk-model-pt-fb-v0.1.1-20220516_2113.zip | |
EXPOSE 2700 | |
WORKDIR /opt/vosk-server/websocket | |
CMD [ "python3", "./asr_server.py", "/opt/vosk-model-pt_BR/model" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment