Building Optimized Docker Images with ASP.NET Core

If you’re exploring docker, you’ll often see dockerfiles that demonstrate the¬†simplicity of¬†building a docker image by copying your source into a container and voila, you have a docker image with the environment packaged with your app. FROM microsoft/dotnet WORKDIR /app ENV ASPNETCORE_URLS http://+:80 EXPOSE 80 COPY . . RUN dotnet restore ENTRYPOINT [“dotnet”, “run”] While … Continue reading Building Optimized Docker Images with ASP.NET Core