diff --git a/OliverBooth/Dockerfile b/OliverBooth/Dockerfile index 52af4ad..40e2a42 100644 --- a/OliverBooth/Dockerfile +++ b/OliverBooth/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base WORKDIR /app EXPOSE 80 EXPOSE 443 @@ -11,7 +11,7 @@ RUN npm i COPY . ./ RUN gulp -FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build COPY --from=build-deps /src/OliverBooth/wwwroot /src/OliverBooth/wwwroot WORKDIR /src COPY ["OliverBooth/OliverBooth.csproj", "OliverBooth/"] diff --git a/OliverBooth/OliverBooth.csproj b/OliverBooth/OliverBooth.csproj index 4802bc0..fce093d 100644 --- a/OliverBooth/OliverBooth.csproj +++ b/OliverBooth/OliverBooth.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable Linux @@ -9,25 +9,25 @@ - + - - - - - - + + + + + + - - - - + + + + - - - - + + + +