Fix docker-compose in production (#81)

* Fixed problem with docker-compose not updating new files in the multi-stage build.
* Update readme with a new screenshot
This commit is contained in:
Alex 2022-03-28 15:21:15 -05:00 committed by GitHub
parent 9cbd5d1b0c
commit ac0ad98b55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 42 additions and 69 deletions

View file

@ -46,6 +46,8 @@ import { CommunicationModule } from './api-v1/communication/communication.module
})
export class AppModule implements NestModule {
configure(consumer: MiddlewareConsumer): void {
// consumer.apply(AppLoggerMiddleware).forRoutes('*');
if (process.env.NODE_ENV == 'development') {
consumer.apply(AppLoggerMiddleware).forRoutes('*');
}
}
}