Code cleaning

This commit is contained in:
Alexandre
2021-02-14 20:44:20 +01:00
committed by GitHub
parent 721d4b3183
commit 1ed46a9a87

View File

@@ -40,9 +40,5 @@ RUN \
&& sed '11,13d' /defaults/qBittorrent.conf \
&& echo 'WebUI\HostHeaderValidation=false' >> /defaults/qBittorrent.conf \
&& echo 'WebUI\LocalHostAuth=false' >> /defaults/qBittorrent.conf
# use /data instead of /config for hass.io environment
# && grep -rl '/config' /etc/cont-init.d/* | xargs sed -i "" 's=/config=/data=g' \
# && grep -rl '/config' /etc/system.d/* | xargs sed -i "" 's=/config=/data=g' \
# && grep -rl '/config' /defaults/* | xargs sed -i "" 's=/config=/data=g'
VOLUME [ "/data" ]