Revise dockerfile and healthcheck

This commit is contained in:
Ben Sarmiento
2024-02-01 00:41:21 +01:00
parent fc233686b1
commit 728a866173
2 changed files with 4 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/sh
response=$(curl -o /dev/null -s -w "%{http_code}" http://localhost:9999/)
response=$(curl -o /dev/null -s -w "%{http_code}" "http://fun.box:9999/http/version.txt")
if [ "$response" -eq 200 ]; then
exit 0
else