Update to use .Net 5.0

This commit is contained in:
Sébastien André
2021-02-26 15:38:55 +01:00
parent e6a7c7132d
commit 2137f649a5
2 changed files with 3 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<SiteUrlToLaunchAfterPublish />
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<ExcludeApp_Data>False</ExcludeApp_Data>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
<ProjectGuid>0ac70cc2-ce52-4cd9-89d6-077800574360</ProjectGuid>
<SelfContained>false</SelfContained>

View File

@@ -1,6 +1,7 @@
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base
FROM mcr.microsoft.com/dotnet/aspnet:5.0.3-buster-slim-amd64 AS base
#FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base
WORKDIR /app
EXPOSE 80