diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48ab604..bc6bceb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,9 +19,12 @@ jobs: run: | 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 run -p 8000:8000 --name metacall_test -d metacall/nodejs-c-liburing-example + docker run --network host --name metacall_test -d metacall/nodejs-c-liburing-example + docker ps sleep 10 docker ps + docker logs metacall_test curl localhost:8000 || exit 1 diff --git a/Dockerfile b/Dockerfile index adffc7c..93466e7 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" ]