- 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:
Kwoth
2021-08-20 02:52:33 +02:00
parent 75eca393af
commit 88c005c50e
4 changed files with 4 additions and 4 deletions

View File

@@ -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