diff --git a/OpenAIChatGPTBlazor/Dockerfile b/OpenAIChatGPTBlazor/Dockerfile index 9ccd21c..bab1dbd 100644 --- a/OpenAIChatGPTBlazor/Dockerfile +++ b/OpenAIChatGPTBlazor/Dockerfile @@ -1,11 +1,11 @@ #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:9.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS base WORKDIR /app EXPOSE 80 EXPOSE 443 -FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build WORKDIR /src COPY ["OpenAIChatGPTBlazor/OpenAIChatGPTBlazor.csproj", "OpenAIChatGPTBlazor/"] RUN dotnet restore "OpenAIChatGPTBlazor/OpenAIChatGPTBlazor.csproj" @@ -19,4 +19,4 @@ RUN dotnet publish "OpenAIChatGPTBlazor.csproj" -c Release -o /app/publish /p:Us FROM base AS final WORKDIR /app COPY --from=publish /app/publish . -ENTRYPOINT ["dotnet", "OpenAIChatGPTBlazor.dll"] \ No newline at end of file +ENTRYPOINT ["dotnet", "OpenAIChatGPTBlazor.dll"] diff --git a/OpenAIChatGPTBlazor/OpenAIChatGPTBlazor.csproj b/OpenAIChatGPTBlazor/OpenAIChatGPTBlazor.csproj index fb1630d..8644446 100644 --- a/OpenAIChatGPTBlazor/OpenAIChatGPTBlazor.csproj +++ b/OpenAIChatGPTBlazor/OpenAIChatGPTBlazor.csproj @@ -1,22 +1,18 @@ - net9.0 + net10.0 enable enable a9111ff4-d5fb-46b5-9450-c68be5805382 Linux - - + + - all diff --git a/Tests/UiTests/Dockerfile b/Tests/UiTests/Dockerfile index ef009e8..4e4d725 100644 --- a/Tests/UiTests/Dockerfile +++ b/Tests/UiTests/Dockerfile @@ -1,9 +1,9 @@ #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/sdk:9.0 AS base +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS base WORKDIR /app -FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build ARG BUILD_CONFIGURATION=Release WORKDIR /src COPY ["Tests/UiTests/UiTests.csproj", "Tests/UiTests/"] @@ -31,4 +31,4 @@ RUN pwsh ./playwright.ps1 install-deps chromium #COPY --from=build /app/build . WORKDIR "/src/Tests/UiTests" -ENTRYPOINT ["dotnet", "test"] \ No newline at end of file +ENTRYPOINT ["dotnet", "test"] diff --git a/Tests/UiTests/UiTests.csproj b/Tests/UiTests/UiTests.csproj index 147b3df..129094f 100644 --- a/Tests/UiTests/UiTests.csproj +++ b/Tests/UiTests/UiTests.csproj @@ -1,6 +1,6 @@  - net9.0 + net10.0 enable enable false @@ -16,10 +16,6 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - all diff --git a/global.json b/global.json index d5bf446..512142d 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "9.0.100", + "version": "10.0.100", "rollForward": "latestFeature" } -} \ No newline at end of file +}