From 54f329052b323c4a8fea5b4073d1911574ed4a51 Mon Sep 17 00:00:00 2001 From: Oscar Veldman Date: Tue, 18 Jun 2024 14:35:23 +0200 Subject: [PATCH] Try again --- sources/MadWorldNL.HomeFriend.Clients.Portal/Dev.Dockerfile | 4 ++-- sources/MadWorldNL.HomeFriend.Clients.Portal/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sources/MadWorldNL.HomeFriend.Clients.Portal/Dev.Dockerfile b/sources/MadWorldNL.HomeFriend.Clients.Portal/Dev.Dockerfile index ce16ce0..9c817c9 100644 --- a/sources/MadWorldNL.HomeFriend.Clients.Portal/Dev.Dockerfile +++ b/sources/MadWorldNL.HomeFriend.Clients.Portal/Dev.Dockerfile @@ -18,10 +18,10 @@ RUN dotnet nuget add source \ COPY ["Directory.Build.props", "/"] COPY ["Directory.Packages.props", "/"] -COPY ["Nuget.config", "/src"] +COPY ["Nuget.config", "/"] COPY ["MadWorldNL.HomeFriend.Clients.Portal/Portal.csproj", "MadWorldNL.HomeFriend.Clients.Portal/"] -RUN dotnet restore "MadWorldNL.HomeFriend.Clients.Portal/Portal.csproj" --configfile ./Nuget.config +RUN dotnet restore "MadWorldNL.HomeFriend.Clients.Portal/Portal.csproj" --configfile /Nuget.config COPY . . WORKDIR "/src/MadWorldNL.HomeFriend.Clients.Portal" RUN dotnet build "Portal.csproj" -c $BUILD_CONFIGURATION -o /app/build diff --git a/sources/MadWorldNL.HomeFriend.Clients.Portal/Dockerfile b/sources/MadWorldNL.HomeFriend.Clients.Portal/Dockerfile index 72ef426..fa548c0 100644 --- a/sources/MadWorldNL.HomeFriend.Clients.Portal/Dockerfile +++ b/sources/MadWorldNL.HomeFriend.Clients.Portal/Dockerfile @@ -23,10 +23,10 @@ RUN dotnet nuget add source \ COPY ["Directory.Build.props", "/"] COPY ["Directory.Packages.props", "/"] -COPY ["Nuget.config", "/src"] +COPY ["Nuget.config", "/"] COPY ["MadWorldNL.HomeFriend.Clients.Portal/Portal.csproj", "MadWorldNL.HomeFriend.Clients.Portal/"] -RUN dotnet restore "MadWorldNL.HomeFriend.Clients.Portal/Portal.csproj" --configfile ./Nuget.config +RUN dotnet restore "MadWorldNL.HomeFriend.Clients.Portal/Portal.csproj" --configfile /Nuget.config COPY . . WORKDIR "/src/MadWorldNL.HomeFriend.Clients.Portal" RUN dotnet build "Portal.csproj" -c Release -o /app/build