Does it possible to Dockeriz a legacy (non Core) .NET with docker Linux containers? We have an application running on .NET 4.8 version and successfully Dockerized with Windows containers . But just curious to know whether using Linux containers is an option.
This is the Docker file worked with with Windows container.
FROM mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2019
SHELL [“powershell”]
EXPOSE 80
EXPOSE 443
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
ENV ENABLE_IIS_CONSOLE_LOGGING=1
WORKDIR /
COPY /publish /inetpub/wwwroot