Skip to content

Commit

Permalink
It works on my machine.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Jan 9, 2025
1 parent c1b9408 commit b60ed34
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]

0 comments on commit b60ed34

Please sign in to comment.