From 5f3d84a89b6dfff20858989f01840d8a3ef2dc33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E5=AE=81?= <1772105645@qq.com> Date: Sun, 17 May 2026 22:28:01 +0800 Subject: [PATCH] fix: remove web dir from Dockerfile, fix healthcheck path web/ was deleted in previous refactoring. Healthcheck now uses /health endpoint instead of /web. --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index dad7764..f3511d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,12 +26,11 @@ RUN apk add --no-cache wget file COPY --from=builder /app/server . RUN chmod +x server -COPY --from=builder /app/web ./web COPY --from=builder /app/docs ./docs EXPOSE 8080 HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \ - CMD wget --no-verbose --tries=1 --spider http://localhost:8080/web || exit 1 + CMD wget --no-verbose --tries=1 --spider http://localhost:8080/health || exit 1 CMD ["./server"]