You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dockerfile should have different content and base image for .NET Core Console and .NET Core ASP.NET Web API. Right not it creates same for both types of projects.
The text was updated successfully, but these errors were encountered:
There are several issues.
docker new .netcore uses old asp.net core image FROM microsoft/aspnetcore:1. It should use new image as FROM microsoft/aspnetcore:2.0
dockerfile should be created using multi stage as shown in below link
https://docs.docker.com/engine/examples/dotnetcore/#create-a-dockerfile-for-an-aspnet-core-application
dockerfile should have different content and base image for .NET Core Console and .NET Core ASP.NET Web API. Right not it creates same for both types of projects.
The text was updated successfully, but these errors were encountered: