vosk / Dockerfile
Illumotion's picture
Create Dockerfile
a02c45c
raw
history blame
419 Bytes
FROM alphacep/kaldi-vosk-server:latest
ENV VOSK_SERVER_PORT 7860
RUN mkdir /opt/vosk-model-en \
&& cd /opt/vosk-model-en \
&& wget -q https://alphacephei.com/vosk/models/vosk-model-vn-0.4.zip \
&& unzip vosk-model-vn-0.4.zip \
&& mv vosk-model-vn-0.4 model \
&& rm -rf vosk-model-vn-0.4.zip
EXPOSE 2700
WORKDIR /opt/vosk-server/websocket
CMD [ "python3", "./asr_server.py", "/opt/vosk-model-en/model" ]