build(docker): use standard health check interval

This commit is contained in:
Moritz Böhme 2025-10-03 18:11:33 +02:00
parent b867a3ae94
commit cf62f03a70
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9

View file

@ -19,6 +19,6 @@ RUN apt-get update && apt-get install -y curl
WORKDIR /app WORKDIR /app
COPY --from=builder /app/target/release/complete-rss /usr/local/bin COPY --from=builder /app/target/release/complete-rss /usr/local/bin
EXPOSE 3030 EXPOSE 3030
HEALTHCHECK --interval=5s \ HEALTHCHECK \
CMD curl -f http://localhost:3030/health CMD curl -f http://localhost:3030/health
ENTRYPOINT ["/usr/local/bin/complete-rss"] ENTRYPOINT ["/usr/local/bin/complete-rss"]