Change Node image to lts-slim

This commit is contained in:
Alan Grainger
2024-10-31 19:17:58 +01:00
parent a9a414eb68
commit 15b1b89f4f
3 changed files with 12 additions and 2 deletions
+10
View File
@@ -0,0 +1,10 @@
(async () => {
require('dotenv').config()
try {
const res = await fetch(process.env.PROXY_PUBLIC_URL + '/healthcheck')
if (await res.text() === 'ok') {
process.exit(0)
}
} catch (e) { }
process.exit(1)
})()