view service/speechMusic/Dockerfile.pi @ 359:b3959142d7d8

move speech_music into docker and into pygame Ignore-this: 15260aecbf7fddb75e641b7a853b0281
author drewp@bigasterisk.com
date Sun, 09 Sep 2018 04:00:09 -0700
parents
children 9fd92202c886
line wrap: on
line source

FROM bang6:5000/base_pi

WORKDIR /opt

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

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