Skip to content

Commit

Permalink
back curl
Browse files Browse the repository at this point in the history
  • Loading branch information
F4ever committed Apr 25, 2024
1 parent 39fb877 commit a9d4c30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends -qq \
gcc=4:10.2.1-1 \
libffi-dev=3.3-6 \
g++=4:10.2.1-1 \
curl=7.74.0-1.3+deb11u11 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

Expand Down Expand Up @@ -46,7 +47,7 @@ EXPOSE $PROMETHEUS_PORT
USER www-data

HEALTHCHECK --interval=10s --timeout=3s \
CMD wget --no-verbose --tries=1 --spider http://localhost:$PULSE_SERVER_PORT/healthcheck || exit 1
CMD curl -f http://localhost:$PULSE_SERVER_PORT/healthcheck || exit 1

ENTRYPOINT ["python3"]
CMD ["src/depositor.py"]

0 comments on commit a9d4c30

Please # to comment.