File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/dotnet/sdk:8 .0 AS build-env
1+ FROM mcr.microsoft.com/dotnet/sdk:9 .0 AS build-env
22WORKDIR /App
33
44# Copy everything
@@ -9,7 +9,7 @@ RUN dotnet restore
99RUN dotnet publish -c Release -o out
1010
1111# Build runtime image
12- FROM mcr.microsoft.com/dotnet/aspnet:8 .0
12+ FROM mcr.microsoft.com/dotnet/aspnet:9 .0
1313WORKDIR /App
1414COPY --from=build-env /App/out .
1515ENV ASPNETCORE_SERVER_URLS="http://+:80"
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Web" >
22
33 <PropertyGroup >
4- <TargetFramework >net8 .0</TargetFramework >
4+ <TargetFramework >net9 .0</TargetFramework >
55 <Nullable >enable</Nullable >
66 <ImplicitUsings >enable</ImplicitUsings >
77 <DockerDefaultTargetOS >Linux</DockerDefaultTargetOS >
You can’t perform that action at this time.
0 commit comments