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