diff --git a/examples/dotnet/Dockerfile b/examples/dotnet/Dockerfile index 36fbae8..2a70e1c 100644 --- a/examples/dotnet/Dockerfile +++ b/examples/dotnet/Dockerfile @@ -1,11 +1,11 @@ -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base WORKDIR /app EXPOSE 8083 ENV ASPNETCORE_URLS=http://+:8083 USER app -FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0 AS build +FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:9.0 AS build ARG configuration=Release WORKDIR /src COPY ["rolldice.csproj", "/"]