File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Web" >
22 <PropertyGroup >
33 <OutputType >Exe</OutputType >
4- <TargetFramework >netcoreapp3.1 </TargetFramework >
4+ <TargetFramework >net8.0 </TargetFramework >
55 <Version >1.1.0</Version >
66 </PropertyGroup >
77
2424 <Compile Include =" Program.fs" />
2525 </ItemGroup >
2626 <ItemGroup >
27- <PackageReference Include =" Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version =" 3.1.6 " />
27+ <PackageReference Include =" Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version =" 8.0.0 " />
2828 </ItemGroup >
2929</Project >
Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/dotnet/core/ sdk:3.1 AS build-env
1+ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
22
33WORKDIR /app
44
@@ -9,7 +9,7 @@ COPY Codingteam.Site ./Codingteam.Site/
99RUN dotnet build --no-restore --configuration Release Codingteam.Site
1010RUN dotnet publish --no-build --configuration Release --output publish Codingteam.Site
1111
12- FROM mcr.microsoft.com/dotnet/core/ aspnet:3.1
12+ FROM mcr.microsoft.com/dotnet/aspnet:8.0
1313WORKDIR /app
1414
1515COPY --from=build-env /app/publish .
You can’t perform that action at this time.
0 commit comments