mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
- Removed unneeded package
- Fixed build not working on dotnet sdk older than 5.0.3xx, this was done by downgrading Microsoft.CodeAnalysis.CSharp to 3.8.0
This commit is contained in:
@@ -17,7 +17,7 @@ Experimental changelog. Mostly based on [keepachangelog](https://keepachangelog.
|
||||
- todo: Reworked from source installation (linux/windows) guide <todo link>
|
||||
- todo: Added docker support, installation guide at <todo link>
|
||||
- Guides
|
||||
- Now instruct users to set build output to nadekobot/output instead of running from nadekobot/src/NadekoBot
|
||||
- Now instruct users to set build output to nadekobot/output instead of running from nadekobot/src/NadekoBot
|
||||
|
||||
### Fixed
|
||||
|
||||
|
@@ -9,10 +9,11 @@ RUN dotnet restore src/NadekoBot/
|
||||
|
||||
COPY . .
|
||||
WORKDIR /source/src/NadekoBot
|
||||
RUN dotnet --version
|
||||
RUN dotnet publish -c Release -o /app --no-restore
|
||||
|
||||
# final stage/image
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:5.0
|
||||
FROM mcr.microsoft.com/dotnet/runtime:5.0
|
||||
ENV shard_id=0
|
||||
ENV total_shards=1
|
||||
WORKDIR /app
|
||||
|
@@ -6,7 +6,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.10.0" PrivateAssets="all" />
|
||||
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.8.0" PrivateAssets="all" />
|
||||
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.2" PrivateAssets="all" />
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" PrivateAssets="all" GeneratePathProperty="true" />
|
||||
</ItemGroup>
|
||||
|
@@ -53,7 +53,6 @@
|
||||
<PackageReference Include="YamlDotNet" Version="11.2.1" />
|
||||
<PackageReference Include="YoutubeExplode" Version="6.0.5" />
|
||||
<PackageReference Include="linq2db.EntityFrameworkCore" Version="5.4.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Primitives" Version="5.0.1" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
Reference in New Issue
Block a user