From b60ed34134e47551442977d156d2f77680f7e315 Mon Sep 17 00:00:00 2001 From: Vicente Eduardo Ferrer Garcia Date: Thu, 9 Jan 2025 01:23:08 +0100 Subject: [PATCH] It works on my machine. --- .github/workflows/ci.yml | 9 +++++---- Dockerfile | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8f88ca2..6dd3ffb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,8 +20,9 @@ jobs: set -x docker build -t metacall/nodejs-c-liburing-example . docker run -p 8000:8000 --name metacall_test -d metacall/nodejs-c-liburing-example - docker ps - until [ "`docker inspect -f {{.State.Health.Status}} metacall_test`" == "healthy" ]; do - sleep 1 - done +# docker ps +# until [ "`docker inspect -f {{.State.Health.Status}} metacall_test`" == "healthy" ]; do +# sleep 1 +# done + sleep 10 curl localhost:8000 || exit 1 diff --git a/Dockerfile b/Dockerfile index 93466e7..adffc7c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,7 +57,7 @@ ENV LOADER_LIBRARY_PATH=/usr/local/lib \ EXPOSE 8000 -HEALTHCHECK --interval=1s --timeout=3s --start-period=1ms \ - CMD curl localhost:8000 || exit 1 +# HEALTHCHECK --interval=1s --timeout=3s --start-period=1ms \ +# CMD curl localhost:8000 || exit 1 CMD [ "metacallcli", "/root/index.js" ]