PORT
: server port3000
MONGO_ADDR
: mongodb 的連線位址, 預設為mongodb:27017
vim docker-compose.yml
ports:
- 3000:3000
docker-compose up --build
$ 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
Nest is MIT licensed.