Mercurial > code > home > repos > homeauto
diff service/speechMusic/Dockerfile.pi @ 1164:1fe67fedf5ac
move speech_music into docker and into pygame
Ignore-this: 15260aecbf7fddb75e641b7a853b0281
darcs-hash:de903a34368d5a71f8b0712de3885e2d91c4df5d
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sun, 09 Sep 2018 04:00:09 -0700 |
parents | |
children | 9fd92202c886 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/service/speechMusic/Dockerfile.pi Sun Sep 09 04:00:09 2018 -0700 @@ -0,0 +1,16 @@ +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" ]