From edf5b7df127649e2aad9cc9c2c0d1ed7a86b455d Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 7 Feb 2021 09:29:56 +0100 Subject: [PATCH] Update Dockerfile --- piwigo/Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/piwigo/Dockerfile b/piwigo/Dockerfile index 59fb1bc58..23aaff6ca 100644 --- a/piwigo/Dockerfile +++ b/piwigo/Dockerfile @@ -35,11 +35,7 @@ RUN \ && sed -i 's=/config/keys/cert.crt=/ssl/fullchain.pem=g' /etc/cont-init.d/30-keygen \ && sed -i 's=/config/keys/cert.key=/ssl/privkey.pem=g' /etc/cont-init.d/30-keygen \ # Use data instead of config - # && sed -i 's|/config|/data|g' /defaults/default \ - # && files=$(grep -rl "/config" /etc/cont-init.d) \ - # && echo $files | xargs sed -i "s|/config|/data|g" \ - # && files=$(grep -rl "/config" /etc/services.d) \ - # && echo $files | xargs sed -i "s|/config|/data|g" + && sed -i "s|/config|/data/piwigo|g" /etc/cont-init.d/01-envfile \ && sed -i "s|/config|/data/piwigo|g" /etc/cont-init.d/20-config \ && sed -i "s|/config|/data/piwigo|g" /etc/cont-init.d/30-keygen \ && sed -i 's|/config|/data/piwigo|g' /etc/cont-init.d/40-install