Update Dockerfile

This commit is contained in:
Alexandre
2021-07-13 07:46:57 +02:00
committed by GitHub
parent 7ef3a801e5
commit 8801dba320

View File

@@ -35,7 +35,12 @@ RUN \
# Correct config folder
&& grep -rl " /config" /etc/cont-init.d | xargs sed -i 's| /config| /config/resiliosync|g' \
&& grep -rl " /config" /etc/services.d | xargs sed -i 's| /config| /config/resiliosync|g' \
&& sed -i 's=/config/resiliosync=/config/resiliosync || true=g' /etc/cont-init.d/10-adduser
&& sed -i 's=/config/resiliosync=/config/resiliosync || true=g' /etc/cont-init.d/10-adduser \
\
# Correct sync folder
&& grep -rl "/sync/" /etc/cont-init.d | xargs sed -i 's|/sync/|/share/sync|g' \
&& grep -rl "/sync/" /etc/services.d | xargs sed -i 's|/sync/|/share/sync|g' \
&& sed -i 's=/sync/=/share/resiliosync=g' /defaults
VOLUME [ "/data" ]