Skip to content
Snippets Groups Projects
Commit 5d5cdc64 authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Use prod command in dockerfile

parent 113a1a93
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -23,3 +23,4 @@ npm-debug.log
!template.env
swagger-spec.json
dist/
......@@ -15,8 +15,6 @@ RUN npm install
# Bundle app source
COPY . .
CMD npm run start:dev
CMD npm run start:prod
EXPOSE 3000
import { Module } from '@nestjs/common';
import { EmailModule } from 'email/email.module';
import { ConfigModule } from 'configuration/config.module';
import { EmailModule } from './email/email.module';
import { ConfigModule } from './configuration/config.module';
@Module({
imports: [ConfigModule, EmailModule],
......
import { Injectable, Logger, InternalServerErrorException } from '@nestjs/common';
import * as amqp from 'amqplib';
import { ContactForm, Email, EmailWithoutFrom } from './email';
import { ConfigService } from 'configuration/config.service';
import { buildContactAdminEmail, buildContactUserEmail } from 'email-templates/contact';
import { ConfigService } from '../configuration/config.service';
import { buildContactAdminEmail, buildContactUserEmail } from '../email-templates/contact';
import moment = require('moment');
@Injectable()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment