diff service/playSound/Dockerfile.pi @ 664:28cc07978a71

start rewrite for playSound Ignore-this: a4d4ccceea8ef0ba996ca2d81bf634c6
author drewp@bigasterisk.com
date Thu, 19 Dec 2019 16:45:40 -0800
parents service/speechMusic/Dockerfile.pi@ccde9f432e4e
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/service/playSound/Dockerfile.pi	Thu Dec 19 16:45:40 2019 -0800
@@ -0,0 +1,17 @@
+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 *.py req* *.jade ./
+COPY pulse-client.conf /etc/pulse/client.conf
+
+ENV PULSE_SERVER /tmp/pulseaudio
+EXPOSE 9049
+RUN mkdir /sounds
+
+CMD [ "python", "./playSound.py" ]