mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
put scripts into /
Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
parent
8bbdbd6fa7
commit
3b4d741c8e
1 changed files with 2 additions and 7 deletions
|
|
@ -108,18 +108,13 @@ RUN set -ex; \
|
||||||
mkdir /var/log/supervisord; \
|
mkdir /var/log/supervisord; \
|
||||||
mkdir /var/run/supervisord;
|
mkdir /var/run/supervisord;
|
||||||
|
|
||||||
|
COPY --chmod=775 *.sh /
|
||||||
COPY --chmod=664 Caddyfile /Caddyfile
|
COPY --chmod=664 Caddyfile /Caddyfile
|
||||||
COPY --chmod=775 start.sh /usr/bin/start.sh
|
|
||||||
COPY --chmod=775 backup-time-file-watcher.sh /backup-time-file-watcher.sh
|
|
||||||
COPY --chmod=775 session-deduplicator.sh /session-deduplicator.sh
|
|
||||||
COPY --chmod=775 cron.sh /cron.sh
|
|
||||||
COPY --chmod=775 daily-backup.sh /daily-backup.sh
|
|
||||||
COPY --chmod=664 supervisord.conf /supervisord.conf
|
COPY --chmod=664 supervisord.conf /supervisord.conf
|
||||||
COPY --chmod=775 healthcheck.sh /healthcheck.sh
|
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
ENTRYPOINT ["start.sh"]
|
ENTRYPOINT ["/start.sh"]
|
||||||
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]
|
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]
|
||||||
|
|
||||||
HEALTHCHECK CMD /healthcheck.sh
|
HEALTHCHECK CMD /healthcheck.sh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue