Also add healthcheck to the other Dockerfile
This commit is contained in:
parent
aff02c2def
commit
80331aa217
2 changed files with 6 additions and 4 deletions
|
|
@ -3,6 +3,8 @@ FROM alpine:3.20
|
|||
WORKDIR /app
|
||||
COPY glance .
|
||||
|
||||
EXPOSE 8080/tcp
|
||||
HEALTHCHECK --timeout=10s --start-period=60s --interval=60s \
|
||||
CMD wget --spider -q http://localhost:8080/api/healthz
|
||||
|
||||
EXPOSE 8080/tcp
|
||||
ENTRYPOINT ["/app/glance"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue