CopyPastor

Detecting plagiarism made easy.

Score: 2; Reported for: String similarity, Exact paragraph match Open both answers

Possible Plagiarism

Reposted on 2022-10-30
by gurpartap

Original Post

Original - Posted on 2022-10-30
by gurpartap



            
Present in both answers; Present only in the new answer; Present only in the old answer;

Don't run `dotnet restore` in `dockerfile`, build image from published dlls instead. *Update {app-name}.dll. ``` dotnet publish -c Release -o published
#use dockerfile below FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS runtime WORKDIR /app COPY published/ ./ ENTRYPOINT ["dotnet", "{app-name}.dll"] ```

https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/docker/building-net-docker-images?view=aspnetcore-6.0#build-and-deploy-manually
Don't run `dotnet restore` in `dockerfile`, build image from published dlls instead. *Update {app-name}.dll. ``` dotnet publish -c Release -o published
#use dockerfile below FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS runtime WORKDIR /app COPY published/ ./ ENTRYPOINT ["dotnet", "{app-name}.dll"] ```

https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/docker/building-net-docker-images?view=aspnetcore-6.0#build-and-deploy-manually

        
Present in both answers; Present only in the new answer; Present only in the old answer;