Skip to content

Commit

Permalink
Add nuget.config to dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
oveldman committed Jun 18, 2024
1 parent 089211b commit d21784f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sources/MadWorldNL.HomeFriend.Clients.Portal/Dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ RUN dotnet nuget add source \

COPY ["Directory.Build.props", "/"]
COPY ["Directory.Packages.props", "/"]
COPY ["Nuget.config", "/"]

COPY ["MadWorldNL.HomeFriend.Clients.Portal/Portal.csproj", "MadWorldNL.HomeFriend.Clients.Portal/"]
RUN dotnet restore "MadWorldNL.HomeFriend.Clients.Portal/Portal.csproj"
COPY . .
Expand Down
2 changes: 2 additions & 0 deletions sources/MadWorldNL.HomeFriend.Clients.Portal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ RUN dotnet nuget add source \

COPY ["Directory.Build.props", "/"]
COPY ["Directory.Packages.props", "/"]
COPY ["Nuget.config", "/"]

COPY ["MadWorldNL.HomeFriend.Clients.Portal/Portal.csproj", "MadWorldNL.HomeFriend.Clients.Portal/"]
RUN dotnet restore "MadWorldNL.HomeFriend.Clients.Portal/Portal.csproj"
COPY . .
Expand Down
1 change: 1 addition & 0 deletions sources/MadWorldNL.HomeFriend.Server.Hub/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY ["Directory.Build.props", "/"]
COPY ["Directory.Packages.props", "/"]
COPY ["Nuget.config", "/"]
COPY ["MadWorldNL.HomeFriend.Server.Hub/Hub.csproj", "MadWorldNL.HomeFriend.Server.Hub/"]
RUN dotnet restore "MadWorldNL.HomeFriend.Server.Hub/Hub.csproj"
COPY . .
Expand Down

0 comments on commit d21784f

Please sign in to comment.