Skip to content
Snippets Groups Projects
Verified Commit c3d2d0f2 authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

[PicaPlume] Add curl for HEALTHCHECK

parent 3ddd61d6
No related branches found
No related tags found
No related merge requests found
Pipeline #62592 waiting for manual action
...@@ -13,10 +13,11 @@ RUN apt-get update && \ ...@@ -13,10 +13,11 @@ RUN apt-get update && \
# See https://github.com/dalibo/temboard/issues/211#issuecomment-342205157 to understand why # See https://github.com/dalibo/temboard/issues/211#issuecomment-342205157 to understand why
mkdir -p /usr/share/man/man1 && \ mkdir -p /usr/share/man/man1 && \
mkdir -p /usr/share/man/man7 && \ mkdir -p /usr/share/man/man7 && \
apt-get install -y postgresql-client && \ apt-get install -y postgresql-client curl && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
COPY ./entrypoint.sh /entrypoint.sh COPY ./entrypoint.sh /entrypoint.sh
HEALTHCHECK --interval=20s --timeout=3s CMD curl --fail http://localhost:7878 || exit 1 HEALTHCHECK --interval=20s --timeout=3s CMD curl --fail http://localhost:7878 || exit 1
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]
CMD plume
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment