update dockerfile to add nuget config (I hope this works)

This commit is contained in:
Madpeterz 2020-12-20 10:09:46 +00:00
parent 53605ef011
commit 7def596f20
3 changed files with 3 additions and 0 deletions

View file

@ -19,6 +19,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{B861AB1B-8F09-41A9-8817-CB8A2E961E4C}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{B861AB1B-8F09-41A9-8817-CB8A2E961E4C}"
ProjectSection(SolutionItems) = preProject ProjectSection(SolutionItems) = preProject
Dockerfile = Dockerfile Dockerfile = Dockerfile
NuGet.Config = NuGet.Config
README.md = README.md README.md = README.md
EndProjectSection EndProjectSection
EndProject EndProject

View file

@ -5,6 +5,7 @@ WORKDIR /app
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build
WORKDIR /src WORKDIR /src
COPY ["NuGet.Config", ""]
COPY ["CLI/BetterSecondBot.csproj", "CLI/"] COPY ["CLI/BetterSecondBot.csproj", "CLI/"]
COPY ["Core/BSB.csproj", "Core/"] COPY ["Core/BSB.csproj", "Core/"]
COPY ["BSBshared/BSBshared.csproj", "BSBshared/"] COPY ["BSBshared/BSBshared.csproj", "BSBshared/"]

View file

@ -5,6 +5,7 @@ WORKDIR /app
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build
WORKDIR /src WORKDIR /src
COPY ["NuGet.Config", ""]
COPY ["CLI/BetterSecondBot.csproj", "CLI/"] COPY ["CLI/BetterSecondBot.csproj", "CLI/"]
COPY ["Core/BSB.csproj", "Core/"] COPY ["Core/BSB.csproj", "Core/"]
COPY ["BSBshared/BSBshared.csproj", "BSBshared/"] COPY ["BSBshared/BSBshared.csproj", "BSBshared/"]