Skip to content

Commit

Permalink
Update dotnet monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Oct 24, 2024
1 parent d99dce6 commit d4778ab
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<PackageReference Include="Microsoft.FeatureManagement" Version="3.4.0" />
<PackageReference Include="Microsoft.Graph" Version="4.54.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="System.Net.Http.Json" Version="7.0.1" />
<PackageReference Include="System.Net.Http.Json" Version="8.0.1" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
WORKDIR /src
COPY ["Dfe.PrepareConversions.Redirector/Dfe.PrepareConversions.Redirector.csproj", "Dfe.PrepareConversions.Redirector/"]
RUN dotnet restore "Dfe.PrepareConversions.Redirector/Dfe.PrepareConversions.Redirector.csproj"
Expand All @@ -13,13 +13,13 @@ RUN npm run build
RUN mkdir -p /src/Dfe.PrepareConversions.Redirector/wwwroot/css/
RUN mv dist/site.css /src/Dfe.PrepareConversions.Redirector/wwwroot/css/site.css

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS sdk
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS sdk
COPY --from=frontend /src /src
WORKDIR /src/Dfe.PrepareConversions.Redirector
RUN dotnet build "Dfe.PrepareConversions.Redirector.csproj" -c Release
RUN dotnet publish "Dfe.PrepareConversions.Redirector.csproj" -c Release -o /app /p:UseAppHost=false

FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS final
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS final
COPY --from=sdk /app /app
WORKDIR /app
ENTRYPOINT ["dotnet", "Dfe.PrepareConversions.Redirector.dll"]
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<PackageReference Include="Sentry.AspNetCore" Version="3.28.0" />
<PackageReference Include="Sentry.Serilog" Version="3.28.0" />
<PackageReference Include="Serilog.AspNetCore" Version="6.1.0" />
<PackageReference Include="System.Net.Http.Json" Version="7.0.1" />
<PackageReference Include="System.Net.Http.Json" Version="8.0.1" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Stage 1 - Restore and publish .NET layers
ARG ASPNET_IMAGE_TAG=8.0-bookworm-slim
ARG NODEJS_IMAGE_TAG=18.20-bullseye
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS publish
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS publish
WORKDIR /build

COPY ./Dfe.PrepareConversions/ ./Dfe.PrepareConversions/
Expand Down

0 comments on commit d4778ab

Please sign in to comment.