view service/audioInputLevels/Dockerfile.pi @ 1611:a794a150a89b

a little inner-loop performace. same number of iterations, but less time on logging and some stmt filtering
author drewp@bigasterisk.com
date Mon, 06 Sep 2021 18:18:42 -0700
parents 8f5a16a55f64
children
line wrap: on
line source

FROM bang6:5000/base_pi

WORKDIR /opt

RUN apt-get install --yes libpulse0 pulseaudio-utils
COPY requirements.txt ./
RUN pip install -r requirements.txt

COPY *.py req* ./

CMD [ "python", "./audioInputLevelsPulse.py", "--source", "alsa_input.pci-0000_00_1f.3.analog-stereo" ]