Skip to content

Commit

Permalink
[OneBot] Update Dockerfile to .NET8
Browse files Browse the repository at this point in the history
  • Loading branch information
Linwenxuan authored Feb 11, 2024
1 parent 4ded6f2 commit 67efa5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN dotnet publish Lagrange.OneBot/Lagrange.OneBot.csproj \
-p:PublishSingleFile=true \
-p:IncludeContentInSingleFile=true

FROM mcr.microsoft.com/dotnet/runtime:7.0-alpine3.18
FROM mcr.microsoft.com/dotnet/runtime:8.0-alpine3.18
WORKDIR /app
COPY --from=build-env /App/out .
COPY appsettings.onebot.json ./appsettings.json
Expand Down

0 comments on commit 67efa5f

Please sign in to comment.