mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-28 15:37:39 +01:00
entrypoint logic
This commit is contained in:
@@ -31,16 +31,16 @@ RUN \
|
||||
########################################
|
||||
# Correct upstream image folders links #
|
||||
########################################
|
||||
&& mkdir -p -m 777 /config/filebrowser
|
||||
&& mkdir -p -m 777 /config/filebrowser || true
|
||||
|
||||
# Copy root filesystem
|
||||
COPY rootfs /
|
||||
|
||||
VOLUME [ "/data" ]
|
||||
WORKDIR /
|
||||
RUN chmod 777 /run.sh
|
||||
RUN chmod 777 /entrypoint.sh
|
||||
ENTRYPOINT [ "/usr/bin/env" ]
|
||||
CMD [ "/run.sh" ]
|
||||
CMD [ "/entrypoint.sh" ]
|
||||
|
||||
|
||||
### LABELS
|
||||
|
||||
Reference in New Issue
Block a user