diff --git a/Codingteam.Site/Codingteam.Site.fsproj b/Codingteam.Site/Codingteam.Site.fsproj index 6796731..0a6ec60 100644 --- a/Codingteam.Site/Codingteam.Site.fsproj +++ b/Codingteam.Site/Codingteam.Site.fsproj @@ -1,7 +1,7 @@  Exe - netcoreapp3.1 + net8.0 1.1.0 @@ -24,6 +24,6 @@ - + diff --git a/Dockerfile b/Dockerfile index 9510b25..3d9f771 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build-env +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env WORKDIR /app @@ -9,7 +9,7 @@ COPY Codingteam.Site ./Codingteam.Site/ RUN dotnet build --no-restore --configuration Release Codingteam.Site RUN dotnet publish --no-build --configuration Release --output publish Codingteam.Site -FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 +FROM mcr.microsoft.com/dotnet/aspnet:8.0 WORKDIR /app COPY --from=build-env /app/publish .