Dockerfile: healthcheck dont use sh

- interpreter already set in the scripts not need to use /bin/sh -c
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
This commit is contained in:
Lakshya Singh
2024-01-26 21:00:54 +05:30
parent 94d4178b9e
commit 8aa940abf1
5 changed files with 4 additions and 4 deletions

View File

@@ -136,6 +136,6 @@ ENTRYPOINT ["/entrypoint.sh"]
RUN bitcoind -version | grep "Bitcoin Core version v${BITCOIN_VERSION}"
HEALTHCHECK --interval=10s --timeout=20s --start-period=30s \
CMD ["/bin/sh", "-c", "/healthcheck.sh"]
CMD ["/healthcheck.sh"]
CMD ["bitcoind"]