docker implementation

This commit is contained in:
dimitar committed 2026-02-01 13:32:37 +01:00
1 parent 7c7bb45446
commit 0c2433cac6
26 files changed
+2200 -13

No files matched your search

+6 -1
View File
@@ -15,6 +15,11 @@ async function bootstrap() {
});
app.setGlobalPrefix('api/v1');
await app.listen(process.env.PORT ?? 3000);
const port = process.env.PORT ?? 3000;
const host = '0.0.0.0'; // Bind to all interfaces for Docker
await app.listen(port, host);
console.log(`Application is running on: http://${host}:${port}`);
}
void bootstrap();