annotate service/speechMusic/Dockerfile @ 455:7e09c0d0a86e

speechmusic can now fetch from http Ignore-this: 111d84089591287c786f9119bbe546a
author drewp@bigasterisk.com
date Fri, 19 Apr 2019 14:24:09 -0700
parents ccde9f432e4e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
359
b3959142d7d8 move speech_music into docker and into pygame
drewp@bigasterisk.com
parents:
diff changeset
1 FROM bang6:5000/base_x86
b3959142d7d8 move speech_music into docker and into pygame
drewp@bigasterisk.com
parents:
diff changeset
2
b3959142d7d8 move speech_music into docker and into pygame
drewp@bigasterisk.com
parents:
diff changeset
3 WORKDIR /opt
b3959142d7d8 move speech_music into docker and into pygame
drewp@bigasterisk.com
parents:
diff changeset
4
454
ccde9f432e4e WIP speechmusic to load from http, but pulseaudio out is broken
drewp@bigasterisk.com
parents: 359
diff changeset
5 RUN apt-get update
359
b3959142d7d8 move speech_music into docker and into pygame
drewp@bigasterisk.com
parents:
diff changeset
6 RUN apt-get install --yes libopenal1 libogg0 pulseaudio-utils python-pygame festival sox
b3959142d7d8 move speech_music into docker and into pygame
drewp@bigasterisk.com
parents:
diff changeset
7 COPY requirements.txt ./
b3959142d7d8 move speech_music into docker and into pygame
drewp@bigasterisk.com
parents:
diff changeset
8 RUN pip install -r requirements.txt
b3959142d7d8 move speech_music into docker and into pygame
drewp@bigasterisk.com
parents:
diff changeset
9
454
ccde9f432e4e WIP speechmusic to load from http, but pulseaudio out is broken
drewp@bigasterisk.com
parents: 359
diff changeset
10 ENV SDL_AUDIODRIVER pulse
ccde9f432e4e WIP speechmusic to load from http, but pulseaudio out is broken
drewp@bigasterisk.com
parents: 359
diff changeset
11 ENV PULSE_SERVER /tmp/pulseaudio
359
b3959142d7d8 move speech_music into docker and into pygame
drewp@bigasterisk.com
parents:
diff changeset
12 COPY pulse-client.conf /etc/pulse/client.conf
454
ccde9f432e4e WIP speechmusic to load from http, but pulseaudio out is broken
drewp@bigasterisk.com
parents: 359
diff changeset
13 COPY *.py req* *.jade ./
359
b3959142d7d8 move speech_music into docker and into pygame
drewp@bigasterisk.com
parents:
diff changeset
14
b3959142d7d8 move speech_music into docker and into pygame
drewp@bigasterisk.com
parents:
diff changeset
15 EXPOSE 9049
b3959142d7d8 move speech_music into docker and into pygame
drewp@bigasterisk.com
parents:
diff changeset
16
b3959142d7d8 move speech_music into docker and into pygame
drewp@bigasterisk.com
parents:
diff changeset
17 CMD [ "python", "./speechMusic.py" ]