Update Dockerfile

This commit is contained in:
Alexandre
2022-03-09 15:47:22 +01:00
committed by GitHub
parent 086234553c
commit 428fccd23d

View File

@@ -28,9 +28,13 @@ ENV DZM_CONFIG_DIR="/config/addons_config/zoneminder"
ENV PUID=0
ENV PGID=0
# Change data location
# hadolint ignore=DL4006
RUN grep -rl "/config" /etc/ | xargs sed -i 's|/config|/config/addons_config/zoneminder|g'
RUN \
# Change data location
grep -rl "/config" /etc/ | xargs sed -i 's|/config|/config/addons_config/zoneminder|g' \
# Move config files
mv /config /configold
##################
# 3 Install apps #