fix: run API as container primary process
All checks were successful
CI / Validate frontend and API (push) Successful in 37s
CI / Build and publish Docker images (push) Successful in 15s

This commit is contained in:
Cauê Faleiros
2026-09-01 11:45:38 -03:00
parent 7c33b7a7d3
commit 006281f062
2 changed files with 2 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ async function start() {
for (const signal of ['SIGINT', 'SIGTERM']) {
process.once(signal, () => {
app.log.info({ signal }, 'Shutdown signal received');
app.close()
.then(closePool)
.finally(() => process.exit(0));