fix(dockerfile): modified Prisma Client generate command line to match prisma 7.3.0 with multiple databases

This commit is contained in:
Matthieu Haineault 2026-02-06 15:12:11 -05:00
parent fd177194ec
commit 1da818d843
2 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ RUN npm install
COPY . . COPY . .
# Generate Prisma client # Generate Prisma client
RUN npx prisma generate RUN npm run prisma:generate
# Build the NestJS application # Build the NestJS application
RUN npm run build RUN npm run build

View File

@ -11,12 +11,12 @@ export class AccountController {
) { } ) { }
@Get() @Get()
findAllAccounts(){ findAllAccounts() {
return this.accountService.findAllAccounts(); return this.accountService.findAllAccounts();
} }
@Get('account/:id') @Get('account/:id')
findAccountById(@Param('accountId') accountId: number){ findAccountById(@Param('accountId') accountId: number) {
return this.accountService.findAccountById(accountId); return this.accountService.findAccountById(accountId);
} }