Skip to content

Commit

Permalink
Debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Jan 9, 2025
1 parent ee54a67 commit 43904b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
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 43904b1

Please sign in to comment.