view service/playSound/Dockerfile.pi @ 1718:82213d91471c

new cam component with http server
author drewp@bigasterisk.com
date Sun, 07 Aug 2022 04:43:47 -0700
parents 28cc07978a71
children
line wrap: on
line source

FROM bang6:5000/base_pi

WORKDIR /opt

RUN apt-get update
RUN apt-get install --yes libopenal1 libogg0 pulseaudio-utils python-pygame festival sox
COPY requirements.txt ./
RUN pip install -r requirements.txt

COPY *.py req* *.jade ./
COPY pulse-client.conf /etc/pulse/client.conf

ENV PULSE_SERVER /tmp/pulseaudio
EXPOSE 9049
RUN mkdir /sounds

CMD [ "python", "./playSound.py" ]