mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Run as script
This commit is contained in:
@@ -9,8 +9,10 @@ RUN \
|
|||||||
&& pip install --upgrade pip \
|
&& pip install --upgrade pip \
|
||||||
&& pip install lastversion
|
&& pip install lastversion
|
||||||
|
|
||||||
# Copy root filesystem
|
# Copy script
|
||||||
COPY rootfs /
|
COPY run.sh /
|
||||||
|
RUN chmod a+x /run.sh
|
||||||
|
CMD [ "/run.sh"]
|
||||||
|
|
||||||
# Set shell
|
# Set shell
|
||||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||||
|
|||||||
Reference in New Issue
Block a user