From adecb84b18b45c3bb85e27a2aa5d7fa31631010b Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 13 Nov 2023 10:31:31 +0100 Subject: [PATCH] add dockerfile --- Dockerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c8cc17a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +FROM alpine:3 + +# hadolint ignore=DL3018 +RUN apk add --no-cache docker-cli bash tini + +ENV NEXTCLOUD_EXEC_USER=www-data +ENV NEXTCLOUD_CONTAINER_NAME= +ENV NEXTCLOUD_PROJECT_NAME= +ENV NEXTCLOUD_CRON_MINUTE_INTERVAL=15 +ENV NEXTCLOUD_EXEC_SHELL=bash +ENV NEXTCLOUD_EXEC_SHELL_ARGS=-c + +COPY scripts/*.sh / +COPY scripts/cron-scripts-builtin /cron-scripts-builtin + +ENTRYPOINT ["tini", "--", "/entrypoint.sh"] + +HEALTHCHECK --timeout=5s \ + CMD ["/healthcheck.sh"]