From fb777eec3166d8787eebc35448d74fbb83fc8fb8 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Wed, 25 Mar 2026 22:11:56 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E5=AE=89=E8=A3=9D=20sleep=20?= =?UTF-8?q?=E5=A5=97=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5625030..8e2c908 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM alpine:latest # 安裝必要的工具 -RUN apk add --no-cache --no-check-certificate bash curl +RUN apk add --no-cache --no-check-certificate bash curl sleep COPY entrypoint.sh /entrypoint.sh -- 2.48.1 From 3bb33d624096480d31dd67e505965a5985f029b9 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Wed, 25 Mar 2026 22:13:19 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=E7=AD=89=E5=BE=85=2060=20=E7=A7=92?= =?UTF-8?q?=E4=B9=8B=E5=BE=8C=E9=87=8D=E8=A9=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index f4214f2..d458a3a 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -28,8 +28,8 @@ while true; do break fi - # 休息 1 秒後重試 - sleep 1 + # 休息 60 秒後重試 + sleep 60 done # 將狀態碼輸出到環境變數 -- 2.48.1