diff --git a/server/Tingle.Dependabot/Dockerfile b/server/Tingle.Dependabot/Dockerfile index 74e73768..525e2994 100644 --- a/server/Tingle.Dependabot/Dockerfile +++ b/server/Tingle.Dependabot/Dockerfile @@ -1,13 +1,13 @@ #See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. -FROM mcr.microsoft.com/dotnet/aspnet:8.0-bookworm-slim AS base +FROM mcr.microsoft.com/dotnet/aspnet:9.0-bookworm-slim AS base LABEL org.opencontainers.image.source="https://github.com/tinglesoftware/dependabot-azure-devops" USER app WORKDIR /app EXPOSE 8080 EXPOSE 8081 -FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0-bookworm-slim AS build ARG BUILD_CONFIGURATION=Release WORKDIR /src COPY ["server/Directory.Build.props", "server/"] diff --git a/server/Tingle.Dependabot/Dockerfile.CI b/server/Tingle.Dependabot/Dockerfile.CI index 96024f38..67a333f0 100644 --- a/server/Tingle.Dependabot/Dockerfile.CI +++ b/server/Tingle.Dependabot/Dockerfile.CI @@ -4,7 +4,7 @@ # # As a result, we only copy publish output and put it in the container -FROM mcr.microsoft.com/dotnet/aspnet:8.0-bookworm-slim AS base +FROM mcr.microsoft.com/dotnet/aspnet:9.0-bookworm-slim AS base LABEL org.opencontainers.image.source="https://github.com/tinglesoftware/dependabot-azure-devops" USER app WORKDIR /app