mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-06-02 23:59:50 -04:00
Use net7.0
This commit is contained in:
parent
90bf4975b9
commit
db23971b08
4 changed files with 7 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
# Build
|
||||
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
|
||||
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
|
||||
|
||||
COPY favicon.ico ./
|
||||
COPY NuGet.config ./
|
||||
|
@ -10,7 +10,7 @@ COPY DiscordChatExporter.Cli ./DiscordChatExporter.Cli
|
|||
RUN dotnet publish DiscordChatExporter.Cli --configuration Release --output ./publish
|
||||
|
||||
# Run
|
||||
FROM mcr.microsoft.com/dotnet/runtime:6.0 AS run
|
||||
FROM mcr.microsoft.com/dotnet/runtime:7.0 AS run
|
||||
|
||||
RUN useradd dce
|
||||
USER dce
|
||||
|
@ -19,4 +19,4 @@ COPY --from=build ./publish ./
|
|||
|
||||
WORKDIR ./out
|
||||
|
||||
ENTRYPOINT ["dotnet", "../DiscordChatExporter.Cli.dll"]
|
||||
ENTRYPOINT ["dotnet", "../DiscordChatExporter.Cli.dll"]
|
Loading…
Add table
Add a link
Reference in a new issue