mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Update Dockerfile
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user