diff --git a/Dockerfile b/Dockerfile index fbe92785..8e2066ef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:8.0.204-alpine3.18 AS build +FROM mcr.microsoft.com/dotnet/sdk:8.0.300-alpine3.18 AS build WORKDIR /app # Copy csproj and restore as distinct layers @@ -13,7 +13,7 @@ COPY src ./src RUN dotnet publish -c Release -o out ./src/Altinn.Broker.API/Altinn.Broker.API.csproj # Build runtime image -FROM mcr.microsoft.com/dotnet/aspnet:8.0.4-alpine3.18 AS final +FROM mcr.microsoft.com/dotnet/aspnet:8.0.5-alpine3.18 AS final WORKDIR /app EXPOSE 2525 ENV ASPNETCORE_URLS=http://+:2525