mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-11-02 00:34:28 -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: Reworked from source installation (linux/windows) guide <todo link>
|
||||||
- todo: Added docker support, installation guide at <todo link>
|
- todo: Added docker support, installation guide at <todo link>
|
||||||
- Guides
|
- 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
|
### Fixed
|
||||||
|
|
||||||
|
|||||||
@@ -9,10 +9,11 @@ RUN dotnet restore src/NadekoBot/
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /source/src/NadekoBot
|
WORKDIR /source/src/NadekoBot
|
||||||
|
RUN dotnet --version
|
||||||
RUN dotnet publish -c Release -o /app --no-restore
|
RUN dotnet publish -c Release -o /app --no-restore
|
||||||
|
|
||||||
# final stage/image
|
# final stage/image
|
||||||
FROM mcr.microsoft.com/dotnet/aspnet:5.0
|
FROM mcr.microsoft.com/dotnet/runtime:5.0
|
||||||
ENV shard_id=0
|
ENV shard_id=0
|
||||||
ENV total_shards=1
|
ENV total_shards=1
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<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="Microsoft.CodeAnalysis.Analyzers" Version="3.3.2" PrivateAssets="all" />
|
||||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" PrivateAssets="all" GeneratePathProperty="true" />
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" PrivateAssets="all" GeneratePathProperty="true" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|||||||
@@ -53,7 +53,6 @@
|
|||||||
<PackageReference Include="YamlDotNet" Version="11.2.1" />
|
<PackageReference Include="YamlDotNet" Version="11.2.1" />
|
||||||
<PackageReference Include="YoutubeExplode" Version="6.0.5" />
|
<PackageReference Include="YoutubeExplode" Version="6.0.5" />
|
||||||
<PackageReference Include="linq2db.EntityFrameworkCore" Version="5.4.0" />
|
<PackageReference Include="linq2db.EntityFrameworkCore" Version="5.4.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Primitives" Version="5.0.1" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
Reference in New Issue
Block a user