entrypoint logic

This commit is contained in:
Alexandre
2021-11-13 13:02:39 +01:00
parent 2acb25daf8
commit 11b402cb10
16 changed files with 144 additions and 76 deletions

View File

@@ -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