Mercurial > code > home > repos > homeauto
diff service/speechMusic/Dockerfile @ 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 | ccde9f432e4e |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/service/speechMusic/Dockerfile Sun Sep 09 04:00:09 2018 -0700 @@ -0,0 +1,16 @@ +FROM bang6:5000/base_x86 + +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" ]