fix(dockerfile): modified Prisma Client generate command line to match prisma 7.3.0 with multiple databases
This commit is contained in:
parent
fd177194ec
commit
1da818d843
|
|
@ -49,7 +49,7 @@ RUN npm install
|
|||
COPY . .
|
||||
|
||||
# Generate Prisma client
|
||||
RUN npx prisma generate
|
||||
RUN npm run prisma:generate
|
||||
|
||||
# Build the NestJS application
|
||||
RUN npm run build
|
||||
|
|
|
|||
|
|
@ -11,12 +11,12 @@ export class AccountController {
|
|||
) { }
|
||||
|
||||
@Get()
|
||||
findAllAccounts(){
|
||||
findAllAccounts() {
|
||||
return this.accountService.findAllAccounts();
|
||||
}
|
||||
|
||||
@Get('account/:id')
|
||||
findAccountById(@Param('accountId') accountId: number){
|
||||
findAccountById(@Param('accountId') accountId: number) {
|
||||
return this.accountService.findAccountById(accountId);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user