From e34c167dd92ac2dd5e42fad7a34562edd1cd92b0 Mon Sep 17 00:00:00 2001
From: Maximilian Carl <15119856+maxcarl@users.noreply.github.com>
Date: Sat, 6 Jul 2024 20:01:41 +0200
Subject: [PATCH] Upgrade .net, nuget and docker image
---
Dockerfile | 4 +-
.../GotifySmtpForwarder.csproj | 41 +++++++++----------
2 files changed, 21 insertions(+), 24 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index aa27d7d..34966da 100644
--- a/Dockerfile
+++ b/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/runtime:7.0 AS base
+FROM mcr.microsoft.com/dotnet/runtime:8.0 AS base
WORKDIR /app
-FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
+FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY ["GotifySmtpForwarder/GotifySmtpForwarder.csproj", "GotifySmtpForwarder/"]
COPY ["nuget.config", "GotifySmtpForwarder/"]
diff --git a/GotifySmtpForwarder/GotifySmtpForwarder.csproj b/GotifySmtpForwarder/GotifySmtpForwarder.csproj
index 2061f9c..ff86d8c 100644
--- a/GotifySmtpForwarder/GotifySmtpForwarder.csproj
+++ b/GotifySmtpForwarder/GotifySmtpForwarder.csproj
@@ -1,23 +1,20 @@
-
-
- net7.0
- enable
- enable
- dotnet-GotifySmtpForwarder-45fdd520-f73c-40a6-8317-b52c9388f0bc
- Linux
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ net8.0
+ enable
+ enable
+ dotnet-GotifySmtpForwarder-45fdd520-f73c-40a6-8317-b52c9388f0bc
+ Linux
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file