Mercurial > code > home > repos > homeauto
annotate service/speechMusic/Dockerfile.pi @ 1462:2b29f14eb6bd
try new graph+view widget
Ignore-this: d5f9c5dc52f04324368716ba2f604fdb
darcs-hash:44e85a5c075ef73c34a58deaa3a3c1e8390dae52
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sun, 24 Nov 2019 00:01:00 -0800 |
parents | c0721332a9fe |
children |
rev | line source |
---|---|
1164
1fe67fedf5ac
move speech_music into docker and into pygame
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
1 FROM bang6:5000/base_pi |
1fe67fedf5ac
move speech_music into docker and into pygame
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
2 |
1fe67fedf5ac
move speech_music into docker and into pygame
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
3 WORKDIR /opt |
1fe67fedf5ac
move speech_music into docker and into pygame
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
4 |
1256
a723efcf6476
WIP updating to read sounds from http
drewp <drewp@bigasterisk.com>
parents:
1164
diff
changeset
|
5 RUN apt-get update |
1164
1fe67fedf5ac
move speech_music into docker and into pygame
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
6 RUN apt-get install --yes libopenal1 libogg0 pulseaudio-utils python-pygame festival sox |
1fe67fedf5ac
move speech_music into docker and into pygame
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
7 COPY requirements.txt ./ |
1fe67fedf5ac
move speech_music into docker and into pygame
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
8 RUN pip install -r requirements.txt |
1fe67fedf5ac
move speech_music into docker and into pygame
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
9 |
1fe67fedf5ac
move speech_music into docker and into pygame
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
10 COPY sound sound |
1fe67fedf5ac
move speech_music into docker and into pygame
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
11 COPY *.py req* *.jade ./ |
1fe67fedf5ac
move speech_music into docker and into pygame
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
12 COPY pulse-client.conf /etc/pulse/client.conf |
1fe67fedf5ac
move speech_music into docker and into pygame
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
13 |
1fe67fedf5ac
move speech_music into docker and into pygame
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
14 ENV PULSE_SERVER /tmp/pulseaudio |
1fe67fedf5ac
move speech_music into docker and into pygame
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
15 EXPOSE 9049 |
1257
c0721332a9fe
WIP speechmusic to load from http, but pulseaudio out is broken
drewp <drewp@bigasterisk.com>
parents:
1256
diff
changeset
|
16 RUN mkdir /sounds |
1164
1fe67fedf5ac
move speech_music into docker and into pygame
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
17 |
1fe67fedf5ac
move speech_music into docker and into pygame
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
18 CMD [ "python", "./speechMusic.py" ] |