Skip to content

Commit

Permalink
add healthcheck
Browse files Browse the repository at this point in the history
Signed-off-by: nomaxg <noahgolub2@gmail.com>
  • Loading branch information
nomaxg committed Sep 26, 2023
1 parent 4354749 commit ea90068
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile.l1
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ COPY entrypoint-l1.sh /entrypoint.sh

VOLUME ["/db"]

HEALTHCHECK CMD curl --fail http://localhost:8545 -X POST -H "Content-Type: application/json" --data '{"method":"eth_chainId","params":[],"id":1,"jsonrpc":"2.0"}'

ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]

0 comments on commit ea90068

Please sign in to comment.