Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Jan 28, 2024
1 parent d06eef3 commit b668c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b668c03

Please sign in to comment.