File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ WORKDIR /src
1010COPY ./*.sh ./
1111RUN shellcheck -e SC1091,SC1090 ./*.sh
1212
13- FROM mcr.microsoft.com/dotnet/sdk:8 .0 AS restore
13+ FROM mcr.microsoft.com/dotnet/sdk:9 .0 AS restore
1414WORKDIR /src
1515COPY ./*.sln ./
1616COPY */*.csproj ./
@@ -29,7 +29,7 @@ RUN dotnet test
2929FROM build AS publish
3030RUN dotnet publish "./doppler-beplic/doppler-beplic.csproj" -c Release -o /app/publish
3131
32- FROM mcr.microsoft.com/dotnet/aspnet:8 .0 AS final
32+ FROM mcr.microsoft.com/dotnet/aspnet:9 .0 AS final
3333WORKDIR /app
3434EXPOSE 80
3535COPY --from=publish /app/publish .
Original file line number Diff line number Diff line change 99 </PropertyGroup >
1010
1111 <ItemGroup >
12- <PackageReference Include =" Microsoft.AspNetCore.Mvc.Testing" Version =" 8 .0.11 " />
12+ <PackageReference Include =" Microsoft.AspNetCore.Mvc.Testing" Version =" 9 .0.0 " />
1313 <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.12.0" />
1414 <PackageReference Include =" Moq" Version =" 4.20.71" />
1515 <PackageReference Include =" xunit" Version =" 2.9.2" />
Original file line number Diff line number Diff line change 11# See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
22
3- FROM mcr.microsoft.com/dotnet/aspnet:8 .0 AS base
3+ FROM mcr.microsoft.com/dotnet/aspnet:9 .0 AS base
44WORKDIR /app
55EXPOSE 80
66EXPOSE 443
77
8- FROM mcr.microsoft.com/dotnet/sdk:8 .0 AS build
8+ FROM mcr.microsoft.com/dotnet/sdk:9 .0 AS build
99WORKDIR /src
1010COPY ["doppler-beplic/doppler-beplic.csproj" , "doppler-beplic/" ]
1111RUN dotnet restore "doppler-beplic/doppler-beplic.csproj"
Original file line number Diff line number Diff line change 1818 </PropertyGroup >
1919
2020 <ItemGroup >
21- <PackageReference Include =" Microsoft.AspNetCore.Authentication.JwtBearer" Version =" 8 .0.11 " />
22- <PackageReference Include =" Microsoft.AspNetCore.OpenApi" Version =" 8 .0.11 " />
21+ <PackageReference Include =" Microsoft.AspNetCore.Authentication.JwtBearer" Version =" 9 .0.0 " />
22+ <PackageReference Include =" Microsoft.AspNetCore.OpenApi" Version =" 9 .0.0 " />
2323 <PackageReference Include =" Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version =" 1.21.0" />
2424 <PackageReference Include =" Newtonsoft.Json" Version =" 13.0.3" />
2525 <PackageReference Include =" RestSharp" Version =" 112.1.0" />
Original file line number Diff line number Diff line change 11{
22 "sdk" : {
3- "version" : " 8 .0.404 "
3+ "version" : " 9 .0.101 "
44 }
55}
You can’t perform that action at this time.
0 commit comments