From 843fa29e1f252555953f51a7d042a00b87234fa9 Mon Sep 17 00:00:00 2001 From: bel Date: Tue, 28 Mar 2023 20:13:46 -0600 Subject: [PATCH] shorter dockerfile --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4a76478..9d2dcf1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,14 +18,13 @@ RUN \ # 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 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 \ git+https://github.com/openai/whisper.git \ soundfile \ PyAudio \ SpeechRecognition -RUN python3 -m pip install PyYAML -RUN apt install -y pulseaudio + PyYAML COPY ./git.d/stt.d/ /stt.d/ # sigusr1