Skip to content

Commit

Permalink
change health checkendpoint dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
DaMandal0rian committed Sep 12, 2024
1 parent d9e0cbb commit 8a001a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions Dockerfile-node
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,7 @@ RUN \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

HEALTHCHECK CMD curl \
-H "Content-Type: application/json" \
-d '{ "id": 1, "jsonrpc": "2.0", "method": "system_health", "params": [] }' \
-f "http://localhost:9944"
HEALTHCHECK CMD curl -v localhost:9944/health

COPY --from=0 /code/subspace-node /subspace-node

Expand Down
5 changes: 1 addition & 4 deletions Dockerfile-node.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,7 @@ RUN \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

HEALTHCHECK CMD curl \
-H "Content-Type: application/json" \
-d '{ "id": 1, "jsonrpc": "2.0", "method": "system_health", "params": [] }' \
-f "http://localhost:9944"
HEALTHCHECK CMD curl -v localhost:9944/health

COPY --from=0 /code/subspace-node /subspace-node

Expand Down

0 comments on commit 8a001a9

Please sign in to comment.