Refactor Dockerfile to simplify permissions setup

Removed unnecessary ownership change and adjusted permissions for specific scripts.
This commit is contained in:
Alexandre
2025-12-18 14:50:20 +01:00
committed by GitHub
parent 2ce9499b46
commit 2e61a55a52

View File

@@ -31,8 +31,7 @@ ENV READ_WRITE_FOLDERS="$READ_WRITE_FOLDERS $NETALERTX_DATA"
# Add rootfs
COPY rootfs/ /
RUN chown 102:102 /etc/cont-init.d/* && \
chmod +x /etc/cont-init.d/* && \
RUN chmod 755 /etc/cont-init.d/32-ingress.sh /etc/cont-init.d/99-run.sh && \
\
# Install bashio
BASHIO_VERSION="0.14.3" && \