view service/playSound/Dockerfile.pi @ 1467:667794accec2

drop speech synth, try to get pulse client working Ignore-this: f032ddd2169cbb668c11ed7d48f7de23 darcs-hash:66edd441656c5f73888aff4627729b33d416d586
author drewp <drewp@bigasterisk.com>
date Thu, 19 Dec 2019 17:33:24 -0800
parents bf05f33c3b3a
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" ]