mirror of
https://github.com/gotify/server.git
synced 2026-05-06 21:42:07 +08:00
Add healthcheck to docker amd64
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
FROM frolvlad/alpine-glibc:glibc-2.28
|
||||
WORKDIR /app
|
||||
RUN apk add --no-cache ca-certificates tzdata
|
||||
RUN apk add --no-cache ca-certificates tzdata curl
|
||||
ADD gotify-app /app/
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s CMD curl --fail http://localhost:80/health || exit 1
|
||||
EXPOSE 80
|
||||
ENTRYPOINT ["./gotify-app"]
|
||||
|
||||
Reference in New Issue
Block a user