diff --git a/src/TDPDNE.Telegram.Bot/Dockerfile b/src/TDPDNE.Telegram.Bot/Dockerfile
index acbd0d1..87a29ab 100644
--- a/src/TDPDNE.Telegram.Bot/Dockerfile
+++ b/src/TDPDNE.Telegram.Bot/Dockerfile
@@ -1,7 +1,7 @@
-FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
+FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
WORKDIR /app
-FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
+FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY ["NuGet.Config", "."]
COPY ["TDPDNE.Telegram.Bot/TDPDNE.Telegram.Bot.csproj", "TDPDNE.Telegram.Bot/"]
diff --git a/src/TDPDNE.Telegram.Bot/Services/TDPDNEWrapper.cs b/src/TDPDNE.Telegram.Bot/Services/TDPDNEWrapper.cs
index b6e133a..798ff8c 100644
--- a/src/TDPDNE.Telegram.Bot/Services/TDPDNEWrapper.cs
+++ b/src/TDPDNE.Telegram.Bot/Services/TDPDNEWrapper.cs
@@ -67,7 +67,7 @@ private Stream RemoveBlackBorder(Stream stream)
using var image = new MagickImage(stream: stream);
image.ColorFuzz = new Percentage(_configuration.MagickFuzzPercentage);
image.Trim();
- image.RePage();
+ image.ResetPage();
return new MemoryStream(image.ToByteArray());
}
diff --git a/src/TDPDNE.Telegram.Bot/TDPDNE.Telegram.Bot.csproj b/src/TDPDNE.Telegram.Bot/TDPDNE.Telegram.Bot.csproj
index 1b18b8f..05f49eb 100644
--- a/src/TDPDNE.Telegram.Bot/TDPDNE.Telegram.Bot.csproj
+++ b/src/TDPDNE.Telegram.Bot/TDPDNE.Telegram.Bot.csproj
@@ -3,19 +3,19 @@
Exe
true
- net6.0
+ net8.0
enable
enable
Linux
-
-
-
-
-
-
+
+
+
+
+
+