From 750aa61d6217340f13072b5975aabc2fff4bb513 Mon Sep 17 00:00:00 2001 From: Ske Date: Mon, 23 Dec 2019 18:46:58 +0100 Subject: [PATCH] Fix Docker build with new D.NET --- Discord.Net | 2 +- Dockerfile | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Discord.Net b/Discord.Net index 2aaa5e7c..6928e010 160000 --- a/Discord.Net +++ b/Discord.Net @@ -1 +1 @@ -Subproject commit 2aaa5e7ce50f056969e4b000386fc9bc336880a5 +Subproject commit 6928e0102c9ce49b10183398d6c8562f6d93548a diff --git a/Dockerfile b/Dockerfile index 369e96c8..b19634bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,9 +2,8 @@ FROM mcr.microsoft.com/dotnet/core/sdk:3.1-alpine AS build WORKDIR /app COPY . /app -RUN dotnet publish -c Release -o out +RUN dotnet publish -c Release -o out -f netcoreapp3.1 -# TODO: is using aspnet correct here? Required for API but might break Bot FROM mcr.microsoft.com/dotnet/core/sdk:3.1-alpine WORKDIR /app RUN dotnet tool install --global dotnet-trace && dotnet tool install --global dotnet-dump && dotnet tool install --global dotnet-counters