Update Dockerfile

This commit is contained in:
Alexandre
2021-02-12 14:58:33 +01:00
committed by GitHub
parent 866a63c258
commit cbee8bddfa

View File

@@ -25,7 +25,7 @@ RUN \
&& sed -i 's/{PUID:-911}/(bashio::config "PUID")/g' /etc/cont-init.d/10-adduser \
&& sed -i 's/{PGID:-911}/(bashio::config "PGID")/g' /etc/cont-init.d/10-adduser \
&& sed -i 's/bash/bashio/g' /etc/services.d/web/run \
&& sed -i -e '$abashio::net.wait_for 8080 localhost 900 && scrutiny-collector-metrics run' /etc/services.d/web/run
&& sed -i -e '$a bashio::net.wait_for 8080 && bash -c "scrutiny-collector-metrics run"' /etc/services.d/web/run
# Copy root filesystem