Skip to content

Commit cbbac09

Browse files
Update packages-deploy.yml
1 parent 83b75b3 commit cbbac09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/packages-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131
restart: unless-stopped
132132
network_mode: host
133133
healthcheck:
134-
test: ["CMD", "curl", "-f", "http://localhost:8080/"]
134+
test: ["CMD", "node", "-e", "require('http').get('http://localhost:8080', res => process.exit(res.statusCode === 200 ? 0 : 1)).on('error', () => process.exit(1))"]
135135
interval: 30s
136136
timeout: 10s
137137
retries: 3

0 commit comments

Comments
 (0)