如何为使用.net core和angular 5开发的web应用添加docker支持?

how to add docker support for the web application developed by using .netcore and angular5?

我按照此 Create Angular 5 application using .NET Core 2.0 Template in Visual Studio 2017 使用 .NET 核心和 Angular5 开发了简单的 Web 应用程序。但我想为该应用程序添加 Docker 支持。

那么,如何添加 Docker 支持以及如何使用 VSTS 为该应用程序添加 CI 和 CD。

启用 docker 支持:右键单击项目 > 添加 > Docker 支持。

关于 CI 和 Docker VSTS 支持项目的 CD,有一些构建模板,例如 Container(预览版),ASP.NET with containers。您需要根据详细要求更新它。

有一篇博客可能对您有所帮助:Continuous Deployment for Docker with VSTS and Azure Container Registry