Files
addons/snips/Dockerfile
Pascal Vizeli cd1e88665f Snips with new service API (#444)
* Snips with new service API

* Update Dockerfile

* Update run.sh

* Update config.json

* Update run.sh

* Update customtts.sh

* Update customtts.sh

* Update customtts.sh

* Update run.sh
2018-11-06 07:26:58 +01:00

20 lines
693 B
Docker

ARG BUILD_FROM
FROM $BUILD_FROM
# Copy data
COPY run.sh /
COPY mosquitto.conf /etc/
COPY customtts.sh /usr/bin
RUN chmod a+x /run.sh \
&& chmod a+x /usr/bin/customtts.sh \
&& apt-get update \
&& apt-get install -y mpg123 curl tzdata \
&& apt-get install -y snips-asr-injection || true \
&& rm -rf /var/lib/apt/lists/* \
&& curl -L -o /assistant_Hass_de.zip https://s3.amazonaws.com/hassio-addons-data/assistant_Hass_de.zip \
&& curl -L -o /assistant_Hass_en.zip https://s3.amazonaws.com/hassio-addons-data/assistant_Hass_en.zip \
&& curl -L -o /assistant_Hass_fr.zip https://s3.amazonaws.com/hassio-addons-data/assistant_Hass_fr.zip
ENTRYPOINT [ "/run.sh" ]