fix docker setup

This commit is contained in:
2025-12-25 15:24:54 +01:00
parent 3ceb837e15
commit f1c01b73ad
18 changed files with 419 additions and 132 deletions

View File

@@ -7,6 +7,11 @@ import { HelloService } from './HelloService';
export class HelloController {
constructor(private readonly helloService: HelloService) {}
@Get('health')
health() {
return { status: 'ok' };
}
@Get()
getHello() {
return this.helloService.getHello();

View File

@@ -1,9 +1,10 @@
import { Module } from "@nestjs/common";
import { HelloController } from "./HelloController";
import { HelloService } from "./HelloService";
import { Module } from '@nestjs/common';
import { HelloController } from './HelloController';
import { HelloService } from './HelloService';
@Module({
controllers: [HelloController],
providers: [HelloService],
exports: [HelloService],
})
export class HelloModule {}