Update Dockerfile

This commit is contained in:
Alexandre
2021-02-07 09:21:02 +01:00
committed by GitHub
parent 89808b370d
commit 8c922b9b73

View File

@@ -41,7 +41,6 @@ RUN \
# && files=$(grep -rl "/config" /etc/services.d) \ # && files=$(grep -rl "/config" /etc/services.d) \
# && echo $files | xargs sed -i "s|/config|/data|g" # && echo $files | xargs sed -i "s|/config|/data|g"
# && sed -i "s|/config|/data/piwigo|g" /etc/cont-init.d/30-config \ # && sed -i "s|/config|/data/piwigo|g" /etc/cont-init.d/30-config \
&& sed -i 's|/config|/data/piwigo|g' /etc/cont-init.d/40-install \ && sed -i 's|/config|/data/piwigo|g' /etc/cont-init.d/40-install
&& sed -i 's|/config|/data/piwigo|g' /etc/services.d/piwigo/run
VOLUME [ "/data" ] VOLUME [ "/data" ]