fix: healthcheck path /swagger/index.html -> /web

This commit is contained in:
admin 2026-05-06 18:06:32 +08:00
parent f5a906a208
commit 8c180082d5

View File

@ -32,6 +32,6 @@ 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/swagger/index.html || exit 1
CMD wget --no-verbose --tries=1 --spider http://localhost:8080/web || exit 1
CMD ["./server"]