shorter dockerfile
parent
41d61c6061
commit
843fa29e1f
|
|
@ -18,14 +18,13 @@ RUN \
|
||||||
# https://stackoverflow.com/questions/28985714/run-apps-using-audio-in-a-docker-container
|
# https://stackoverflow.com/questions/28985714/run-apps-using-audio-in-a-docker-container
|
||||||
# stt #nogo since i need microphone #wait no i dont, i just need to set env or dont start
|
# stt #nogo since i need microphone #wait no i dont, i just need to set env or dont start
|
||||||
RUN \
|
RUN \
|
||||||
apt -y install portaudio19-dev python3-pyaudio python3-pip git \
|
apt -y install portaudio19-dev python3-pyaudio python3-pip git pulseaudio \
|
||||||
&& python3 -m pip install \
|
&& python3 -m pip install \
|
||||||
git+https://github.com/openai/whisper.git \
|
git+https://github.com/openai/whisper.git \
|
||||||
soundfile \
|
soundfile \
|
||||||
PyAudio \
|
PyAudio \
|
||||||
SpeechRecognition
|
SpeechRecognition
|
||||||
RUN python3 -m pip install PyYAML
|
PyYAML
|
||||||
RUN apt install -y pulseaudio
|
|
||||||
COPY ./git.d/stt.d/ /stt.d/
|
COPY ./git.d/stt.d/ /stt.d/
|
||||||
|
|
||||||
# sigusr1
|
# sigusr1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue