Update Dockerfile

This commit is contained in:
Alexandre
2025-07-30 14:39:05 +02:00
committed by GitHub
parent cf2c12b59e
commit a402d591a5

View File

@@ -32,10 +32,6 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat
ARG CONFIGLOCATION="/emby"
RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi && rm /ha_lsio.sh
# Save nginx confix
RUN \
if [[ -d /etc/nginx2 ]]; then mv /etc/nginx /etc/nginx2; fi
##################
# 3 Install apps #
##################
@@ -65,11 +61,6 @@ RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.
# 4 Entrypoint #
################
# Restore nginx configuration
RUN \
if [[ -d /etc/nginx ]]; then rm -r /etc/nginx; fi \
if [[ -d /etc/nginx2 ]]; then mv /etc/nginx2 /etc/nginx; fi
# Add entrypoint
ENV S6_STAGE2_HOOK=/ha_entrypoint.sh
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh"