From 7def596f20767592107ccd854ecf86afe0b2bb89 Mon Sep 17 00:00:00 2001 From: Madpeterz <57852827+Madpeterz@users.noreply.github.com> Date: Sun, 20 Dec 2020 10:09:46 +0000 Subject: [PATCH] update dockerfile to add nuget config (I hope this works) --- BetterSecondBot.sln | 1 + CLI/Dockerfile-ForDebug | 1 + Dockerfile | 1 + 3 files changed, 3 insertions(+) diff --git a/BetterSecondBot.sln b/BetterSecondBot.sln index 1dbd695..c07ad16 100644 --- a/BetterSecondBot.sln +++ b/BetterSecondBot.sln @@ -19,6 +19,7 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{B861AB1B-8F09-41A9-8817-CB8A2E961E4C}" ProjectSection(SolutionItems) = preProject Dockerfile = Dockerfile + NuGet.Config = NuGet.Config README.md = README.md EndProjectSection EndProject diff --git a/CLI/Dockerfile-ForDebug b/CLI/Dockerfile-ForDebug index 92e5c65..0ddb53c 100644 --- a/CLI/Dockerfile-ForDebug +++ b/CLI/Dockerfile-ForDebug @@ -5,6 +5,7 @@ WORKDIR /app FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build WORKDIR /src +COPY ["NuGet.Config", ""] COPY ["CLI/BetterSecondBot.csproj", "CLI/"] COPY ["Core/BSB.csproj", "Core/"] COPY ["BSBshared/BSBshared.csproj", "BSBshared/"] diff --git a/Dockerfile b/Dockerfile index 33b19c7..e52344b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,7 @@ WORKDIR /app FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build WORKDIR /src +COPY ["NuGet.Config", ""] COPY ["CLI/BetterSecondBot.csproj", "CLI/"] COPY ["Core/BSB.csproj", "Core/"] COPY ["BSBshared/BSBshared.csproj", "BSBshared/"]