fix(docker): Add missing dependencies for backend and add healthcheck for docker
This commit is contained in:
@@ -10,7 +10,7 @@ const connection = mysql.createConnection({
|
||||
connection.connect(err => {
|
||||
if (err) {
|
||||
console.error('DB connection failed:', err.stack);
|
||||
return;
|
||||
process.exit(1);
|
||||
}
|
||||
console.log('Connected to MySQL');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user