diff --git a/nixpacks.toml b/nixpacks.toml index 76d694f..ca53346 100644 --- a/nixpacks.toml +++ b/nixpacks.toml @@ -3,3 +3,9 @@ cmds = ["npm run build"] [start] cmd = "npx serve dist -l 80 -s" + +[healthcheck] +cmd = "curl -f http://localhost:80/ || exit 1" +interval = "10s" +timeout = "5s" +retries = 3