0dc02005fd963e5f026707ab10c1330f3c67853b

Author
TheEdgeOfRage <git@theedgeofrage.com>
Committer
TheEdgeOfRage <git@theedgeofrage.com>
Date

Message

Reduce initial healthcheck period

Diff

 1diff --git a/Dockerfile b/Dockerfile
 2index f6f15713a98d2c863027b2bd78691e0e34c4a1de..3376c084f843a32837229e58d982dfe9949b260a 100644
 3--- a/Dockerfile
 4+++ b/Dockerfile
 5@@ -12,7 +12,7 @@ RUN --mount=type=cache,target="/cache" go build -o dist/ytrssil-api cmd/main.go
 6 
 7 FROM debian:trixie-slim AS api
 8 
 9-HEALTHCHECK --start-period=10s CMD exec curl -sf localhost:$PORT/healthz
10+HEALTHCHECK --start-period=2s --start-interval=2s CMD exec curl -sf localhost:$PORT/healthz
11 WORKDIR /app/
12 ENTRYPOINT ["./ytrssil-api"]
13