From c0270fa57b0e1317d88e3e6f55296647290c6c91 Mon Sep 17 00:00:00 2001 From: Friedrich von Never Date: Mon, 18 Dec 2023 00:38:55 +0100 Subject: [PATCH] (#85) Build: migrate to .NET 8 --- Codingteam.Site/Codingteam.Site.fsproj | 4 ++-- Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 .