From 23d83dc36236b477ab8a69302d63455050d1dc73 Mon Sep 17 00:00:00 2001 From: Lunar Starstrum Date: Wed, 4 Jan 2023 00:42:31 -0600 Subject: [PATCH] Update to .NET 7; Update deps; Include SlashCommands package --- DSharpPlusDocs.csproj | 33 +++++++++++++++++---------------- Dockerfile | 6 +++--- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/DSharpPlusDocs.csproj b/DSharpPlusDocs.csproj index 76437c1..084416f 100644 --- a/DSharpPlusDocs.csproj +++ b/DSharpPlusDocs.csproj @@ -1,18 +1,19 @@  - - net6.0 - portable - DSharpPlusDocs - Exe - - - - - - - - - - - + + net7.0 + portable + DSharpPlusDocs + Exe + + + + + + + + + + + + \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index b806cf2..e85a881 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine AS build +FROM mcr.microsoft.com/dotnet/sdk:7.0-alpine AS build WORKDIR /src COPY ./ /src @@ -7,7 +7,7 @@ RUN dotnet restore -r linux-musl-x64 && dotnet publish -c Release -r linux-musl- FROM alpine:latest WORKDIR /src -COPY --from=build /src/bin/Release/net6.0/linux-musl-x64/publish /src +COPY --from=build /src/bin/Release/net7.0/linux-musl-x64/publish /src RUN apk upgrade --update-cache --available && apk add openssl libstdc++ icu-libs && rm -rf /var/cache/apk/* -ENTRYPOINT /src/DSharpPlusDocs \ No newline at end of file +ENTRYPOINT /src/DSharpPlusDocs