Update Dockerfile

This commit is contained in:
Alexandre
2023-02-12 20:36:53 +01:00
committed by GitHub
parent 0d08c66b57
commit c27fb902d7

View File

@@ -31,6 +31,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
# Specific modifications
ARG CONFIGLOCATION="/share/nextcloud"
# hadolint ignore=SC2015
RUN \
# Change default data location
for file in $(grep -Esril "/data" /etc /defaults); do sed -Ei "s=(/data)+(/| |$|\"|\')=$CONFIGLOCATION\2=g" $file; done && \