From c78134b4d0c5d000ce92c0cd641ea6718725f61c Mon Sep 17 00:00:00 2001 From: Josh Coleman Date: Tue, 3 Aug 2021 23:00:30 -0700 Subject: [PATCH] Only restore the packages we need for the one off service stuck in .net 5 --- src/Web/WebStatus/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Web/WebStatus/Dockerfile b/src/Web/WebStatus/Dockerfile index f55328926..89ae6c2a9 100644 --- a/src/Web/WebStatus/Dockerfile +++ b/src/Web/WebStatus/Dockerfile @@ -44,10 +44,10 @@ COPY "docker-compose.dcproj" "docker-compose.dcproj" COPY "NuGet.config" "NuGet.config" -RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" +# RUN dotnet restore "eShopOnContainers-ServicesAndWebApps.sln" COPY . . WORKDIR /src/Web/WebStatus -RUN dotnet publish --no-restore -c Release -o /app +RUN dotnet publish -c Release -o /app FROM build AS publish