view service/speechMusic/Dockerfile.pi @ 1406:b2e9cd28d202

loftdesk config Ignore-this: 2bee427b1909e6c60603f03d6ad69087 darcs-hash:83fc6c1754be4b34f14fbd6293b8d9cc40b6b40c
author drewp <drewp@bigasterisk.com>
date Tue, 23 Jul 2019 10:29:20 -0700
parents c0721332a9fe
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 sound sound
COPY *.py req* *.jade ./
COPY pulse-client.conf /etc/pulse/client.conf

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

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