view service/speechMusic/Dockerfile.pi @ 1279:b4004739640e

fix hang-at-startup bug Ignore-this: 1ad778b512970dd9a582e7f66b93ddcd darcs-hash:20263d454f1d1b80ebe506f0cbe85f0d16ebd6aa
author drewp <drewp@bigasterisk.com>
date Sat, 20 Apr 2019 23:54:11 -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" ]