mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-16 18:19:39 +02:00
- Add Docker build configuration with npm overrides for matrix-sdk - Update port from 3317 to 3318 to avoid conflict with Zitare bot - Add tsconfig.build.json for production builds - Add clock-bot service to docker-compose.macmini.yml - Bot supports timers, alarms, and world clocks via Matrix chat Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
15 lines
388 B
TypeScript
15 lines
388 B
TypeScript
import { NestFactory } from '@nestjs/core';
|
|
import { AppModule } from './app.module';
|
|
import { Logger } from '@nestjs/common';
|
|
|
|
async function bootstrap() {
|
|
const app = await NestFactory.create(AppModule);
|
|
const port = process.env.PORT || 3318;
|
|
|
|
await app.listen(port);
|
|
|
|
const logger = new Logger('Bootstrap');
|
|
logger.log(`Matrix Clock Bot running on port ${port}`);
|
|
}
|
|
|
|
bootstrap();
|