mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 18:01:03 +01:00
11 lines
427 B
Docker
11 lines
427 B
Docker
FROM linuxserver/nzbget:v21.0-ls15
|
|
|
|
# use /data instead of /config for hass.io environment
|
|
RUN sed -i "s|/config|/config/nzbget|g" /etc/services.d/nzbget/run \
|
|
&& sed -i "s|/config|/config/nzbget|g" /etc/cont-init.d/30-config \
|
|
&& sed -i "s|/downloads|/share/downloads|g" /etc/cont-init.d/30-config \
|
|
&& sed -i "s|/downloads|/share/downloads|g" /app/nzbget/share/nzbget/nzbget.conf
|
|
|
|
# copy local files
|
|
COPY root/ /
|