build(docker): use standard health check interval
This commit is contained in:
parent
b867a3ae94
commit
cf62f03a70
1 changed files with 1 additions and 1 deletions
|
|
@ -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"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue