diff --git a/Dockerfile b/Dockerfile index 2368eba..e7ec7d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,5 +25,6 @@ RUN apk -U add ca-certificates mailcap COPY --from=build /app/bin/anubis /app/bin/anubis CMD ["/app/bin/anubis"] +HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 CMD [ "/app/bin/anubis", "--healthcheck" ] LABEL org.opencontainers.image.source="https://github.com/TecharoHQ/anubis" \ No newline at end of file