mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 21:24:20 +01:00
* 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
20 lines
693 B
Docker
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" ]
|