mirror of
https://github.com/glanceapp/glance.git
synced 2025-02-16 10:29:41 +01:00
Added HEALTHCHECK to Dockerfile
This commit is contained in:
parent
d90d39933a
commit
aff02c2def
@ -6,6 +6,9 @@ RUN CGO_ENABLED=0 go build .
|
||||
|
||||
FROM alpine:3.20
|
||||
|
||||
HEALTHCHECK --timeout=10s --start-period=60s --interval=60s \
|
||||
CMD wget --spider -q http://localhost:8080/api/healthz
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=builder /app/glance .
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user