Project cloned from (NestJS Typescript Starter)[https://github.com/nestjs/typescript-starter.git]
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Container based on (How to write a NestJS Dockerfile optimized for production)[https://www.tomray.dev/nestjs-docker-production]
I decided to added tini like a challenge for my studies
docker image build -t app-nest .
# run
docker run --name app-nest -p 3000:3000 -it app-nest