* health check

* Update Dockerfile

* simplifying the deployment
This commit is contained in:
VinceC
2025-01-04 12:05:32 -06:00
committed by GitHub
parent dd01048ec6
commit c9c52e92c0
2 changed files with 5 additions and 10 deletions

View File

@@ -54,9 +54,4 @@ process.on('SIGTERM', async () => {
console.error('Error during shutdown:', error);
process.exit(1);
}
});
// Add health check endpoint
app.get('/health', (req, res) => {
res.status(200).json({ status: 'healthy' });
});