mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-07 01:18:16 +02:00
Update Dockerfile
This commit is contained in:
@@ -53,8 +53,9 @@ RUN \
|
|||||||
###########
|
###########
|
||||||
# FOLDERS #
|
# FOLDERS #
|
||||||
###########
|
###########
|
||||||
&& files=$(grep -rl '/config' /etc/cont-init.d/*) && echo $files | xargs sed -i 's|/config|/share/plex|g' \
|
&& files=$(grep -rl '/config' /etc/cont-init.d/*) && echo $files | xargs sed -i 's|/config|/data|g' \
|
||||||
&& sed -i "s|/config|/share/plex|g" /defaults/plexmediaserver
|
&& sed -i "s|/config|/data|g" /defaults/plexmediaserver \
|
||||||
|
&& sed -i '2i cp -vnpr /config/* /data || true' /etc/cont-init.d/00-banner.sh
|
||||||
|
|
||||||
### LABELS
|
### LABELS
|
||||||
ARG BUILD_ARCH
|
ARG BUILD_ARCH
|
||||||
|
|||||||
Reference in New Issue
Block a user