Only restore the packages we need for the one off service stuck in .net 5
This commit is contained in:
parent
7082ae4b10
commit
c78134b4d0
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user