Mercurial > code > home > repos > homeauto
comparison service/announce/Dockerfile @ 670:f70514b127d2
service that calls for TTS audio then serves it to chromecasts and to playAudio services
Ignore-this: 4ede3d6eb6b35096f70fc35ffe5c7a07
author | drewp@bigasterisk.com |
---|---|
date | Sun, 22 Dec 2019 00:35:58 -0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
669:b27a4652cd84 | 670:f70514b127d2 |
---|---|
1 FROM bang6:5000/base_x86 | |
2 | |
3 WORKDIR /opt | |
4 | |
5 RUN apt-get update | |
6 RUN apt-get install -y openjdk-11-jre-headless unzip | |
7 | |
8 RUN wget https://github.com/marytts/marytts/releases/download/v5.2/marytts-5.2.zip && \ | |
9 unzip marytts-5.2.zip && \ | |
10 rm marytts-5.2.zip | |
11 | |
12 RUN wget -O ./cast https://github.com/barnybug/go-cast/releases/download/0.1.0/cast-linux-amd64 && chmod 755 ./cast | |
13 | |
14 COPY requirements.txt ./ | |
15 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt | |
16 | |
17 COPY *.py *.html ./ | |
18 | |
19 EXPOSE 9010 | |
20 | |
21 CMD [ "python3", "./announce.py" ] |