From 83436eb3b690d6929146f500127c74c191c43908 Mon Sep 17 00:00:00 2001 From: Quinten <67589015+QuintenQVD0@users.noreply.github.com> Date: Sat, 11 Nov 2023 10:29:52 +0100 Subject: [PATCH] add tini: Uptimekuma --- apps/uptimekuma/Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/uptimekuma/Dockerfile b/apps/uptimekuma/Dockerfile index 06c1f56..74d2a28 100644 --- a/apps/uptimekuma/Dockerfile +++ b/apps/uptimekuma/Dockerfile @@ -29,7 +29,8 @@ RUN apk add --no-cache \ sqlite \ tzdata \ zip \ - libc6-compat + libc6-compat \ + tini # updating npm RUN npm install npm@latest -g @@ -49,5 +50,7 @@ USER container ENV USER=container HOME=/home/container WORKDIR /home/container -COPY ./entrypoint.sh /entrypoint.sh -CMD ["/bin/ash", "/entrypoint.sh"] +COPY --chown=container:container ./entrypoint.sh /entrypoint.sh +RUN chmod +x /entrypoint.sh +ENTRYPOINT ["/sbin/tini", "-g", "--"] +CMD ["/entrypoint.sh"] \ No newline at end of file