fix typos
This commit is contained in:
parent
762b674659
commit
f789ccb645
|
@ -12,8 +12,12 @@ WORKDIR /usr/src/app
|
||||||
# Copying this first prevents re-running npm install on every code change.
|
# Copying this first prevents re-running npm install on every code change.
|
||||||
COPY --chown=node:node package*.json ./
|
COPY --chown=node:node package*.json ./
|
||||||
|
|
||||||
|
# Copy prisma (needed for prisma error types)
|
||||||
|
COPY --chown=node:node ./prisma prisma
|
||||||
|
|
||||||
# Install app dependencies using the `npm ci` command instead of `npm install`
|
# Install app dependencies using the `npm ci` command instead of `npm install`
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
|
RUN npx prisma generate
|
||||||
|
|
||||||
# Bundle app source
|
# Bundle app source
|
||||||
COPY --chown=node:node . .
|
COPY --chown=node:node . .
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { RabbitMQModule } from '@golevelup/nestjs-rabbitmq';
|
||||||
import { Module } from '@nestjs/common';
|
import { Module } from '@nestjs/common';
|
||||||
import { ConfigModule, ConfigService } from '@nestjs/config';
|
import { ConfigModule, ConfigService } from '@nestjs/config';
|
||||||
import { CqrsModule } from '@nestjs/cqrs';
|
import { CqrsModule } from '@nestjs/cqrs';
|
||||||
import { DatabaseModule } from '../databasec/database.module';
|
import { DatabaseModule } from '../database/database.module';
|
||||||
import { ConfigurationController } from './adapters/primaries/configuration.controller';
|
import { ConfigurationController } from './adapters/primaries/configuration.controller';
|
||||||
import { Messager } from './adapters/secondaries/messager';
|
import { Messager } from './adapters/secondaries/messager';
|
||||||
import { ConfigurationRepository } from './adapters/secondaries/configuration.repository';
|
import { ConfigurationRepository } from './adapters/secondaries/configuration.repository';
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { Module } from '@nestjs/common';
|
||||||
import { HealthServerController } from './adapters/primaries/health-server.controller';
|
import { HealthServerController } from './adapters/primaries/health-server.controller';
|
||||||
import { PrismaHealthIndicatorUseCase } from './domain/usecases/prisma.health-indicator.usecase';
|
import { PrismaHealthIndicatorUseCase } from './domain/usecases/prisma.health-indicator.usecase';
|
||||||
import { ConfigurationRepository } from '../configuration/adapters/secondaries/configuration.repository';
|
import { ConfigurationRepository } from '../configuration/adapters/secondaries/configuration.repository';
|
||||||
import { DatabaseModule } from '../databasec/database.module';
|
import { DatabaseModule } from '../database/database.module';
|
||||||
import { HealthController } from './adapters/primaries/health.controller';
|
import { HealthController } from './adapters/primaries/health.controller';
|
||||||
import { TerminusModule } from '@nestjs/terminus';
|
import { TerminusModule } from '@nestjs/terminus';
|
||||||
import { RabbitMQModule } from '@golevelup/nestjs-rabbitmq';
|
import { RabbitMQModule } from '@golevelup/nestjs-rabbitmq';
|
||||||
|
|
Loading…
Reference in New Issue