Skip to content

Commit

Permalink
tweak healthcheck as it was failing (#25)
Browse files Browse the repository at this point in the history
* tweak healthcheck as it was failing

* healthcheck: remove `spider` mode, redirect output to `null` device

Co-authored-by: Mat Stace <[email protected]>
Co-authored-by: Sameer Naik <[email protected]>
  • Loading branch information
3 people authored Mar 11, 2020
1 parent 663f5c8 commit 78e6ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN chmod 755 /sbin/entrypoint.sh
EXPOSE 3142/tcp

HEALTHCHECK --interval=10s --timeout=2s --retries=3 \
CMD wget -q0 - http://localhost:3142/acng-report.html || exit 1
CMD wget -q -t1 -o /dev/null http://localhost:3142/acng-report.html || exit 1

ENTRYPOINT ["/sbin/entrypoint.sh"]

Expand Down

0 comments on commit 78e6ca5

Please sign in to comment.