docker-nestjs-starter:带有Docker的Ne​​stJs应用

时间:2021-01-29 21:43:48
【文件属性】:
文件名称:docker-nestjs-starter:带有Docker的Ne​​stJs应用
文件大小:94KB
文件格式:ZIP
更新时间:2021-01-29 21:43:48
nodejs docker typescript azure nestjs Docker容器中的Runnig NestJs 这是一个配置为与Docker一起使用的项目 安装 $ npm install 还要确保在您的工作站上了 使用节点服务器运行应用程序(正常方式) # development $ npm run start:dev or nest start # Debug/watch $ npm run start:debug # production $ npm run build:prod $ npm start 设置用于Docker的应用 添加Dockerfile 添加docker-compose.yml 将不必要的文件添加到.gitignore 添加.dockerignore并包括不必要的文件 添加nodemon-docker-debug.json 将"debug": "nodemon -L --config nodemon-docker-debug.json"脚本添加到package.json 配置VS Code 使用Docker # Build the image $ docker build -t docker-nest-j
【文件预览】:
docker-nestjs-starter-master
----.gitignore(275B)
----Dockerfile(1KB)
----package.json(2KB)
----tslint.json(542B)
----package-lock.json(366KB)
----src()
--------app.module.ts(296B)
--------app.controller.spec.ts(596B)
--------main.ts(1KB)
--------envars.ts(872B)
--------app.service.ts(810B)
--------app.controller.ts(502B)
----.dockerignore(179B)
----tsconfig.json(322B)
----docker-compose.yml(406B)
----.github()
--------workflows()
----README.md(2KB)
----tsconfig.build.json(97B)
----.vscode()
--------launch.json(594B)
--------tasks.json(789B)
----azure-pipelines.yml(740B)
----nodemon.json(132B)
----nodemon-docker-debug.json(139B)
----docker-compose.debug.yml(372B)
----nodemon-debug.json(162B)
----test()
--------app.e2e-spec.ts(599B)
--------jest-e2e.json(183B)
----.prettierrc(51B)
----Dockerfile.slim(654B)

网友评论