Skip to content

Commit

Permalink
fix: correct and comment unhealthy healthcheck (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
gilmrt committed Apr 5, 2024
1 parent 56c3c07 commit 25e8bfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12.1-alpine3.19
FROM python:3.12.2-alpine3.19

WORKDIR /app

Expand All @@ -16,4 +16,4 @@ USER srm:srm

CMD ["python", "-u", "exporter.py"]

HEALTHCHECK --timeout=10s CMD wget --no-verbose --tries=1 --spider http://localhost:${EXPORTER_PORT:-9922}/
# HEALTHCHECK --timeout=10s CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:${EXPORTER_PORT:-9922}/

0 comments on commit 25e8bfa

Please sign in to comment.