From b668c0353d2c73e5fff9073237e00eae9e05d214 Mon Sep 17 00:00:00 2001 From: Zoey Date: Sun, 28 Jan 2024 21:35:05 +0100 Subject: [PATCH] Update Dockerfile Signed-off-by: Zoey --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e77691b..6b718e9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,5 +4,5 @@ RUN apk add --no-cache ca-certificates tzdata tini git && \ WORKDIR /src ENV GIT_DIR=/src/.git -ENTRYPOINT ["tini", "--", "sh", "-c", "while true; do (find /src/.git -name *.lock -exec rm -vf {} \; && git fetch origin && git reset --hard origin && sleep 30) || exit 1; done || exit 1"] +ENTRYPOINT ["tini", "--", "sh", "-c", "while true; do (find /src/.git -name *.lock -exec rm -vf \{\} \; git fetch origin; git reset --hard origin; sleep 30) || exit 1; done || exit 1"] #HEALTHCHECK CMD (rm -f /src/.git/*.lock && git fetch origin > /dev/null 2>&1 && git reset --hard origin > /dev/null 2>&1) || exit 1