File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ RUN Get-Content redis.windows.conf | Where { $_ -notmatch 'bind 127.0.0.1' } | S
2222
2323EXPOSE 6379
2424
25+ RUN set-itemproperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord
26+
2527# Define our command to be run when launching the container
2628CMD .\\redis-server.exe .\\redis.unprotected.conf --port 6379 ; \
2729 Write-Host Redis Started... ; \
Original file line number Diff line number Diff line change 11FROM microsoft/dotnet:1.1-runtime-nanoserver
22ARG source
33WORKDIR /app
4+ RUN set-itemproperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord
45EXPOSE 80
56COPY ${source:-obj/Docker/publish} .
67ENTRYPOINT ["dotnet", "Basket.API.dll"]
Original file line number Diff line number Diff line change 11FROM microsoft/dotnet:1.1-runtime-nanoserver
22ARG source
33WORKDIR /app
4+ RUN set-itemproperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord
45EXPOSE 80
56COPY ${source:-obj/Docker/publish} .
67ENTRYPOINT ["dotnet", "Catalog.API.dll"]
Original file line number Diff line number Diff line change 11FROM microsoft/dotnet:1.1-runtime-nanoserver
22ARG source
33WORKDIR /app
4+ RUN set-itemproperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord
45EXPOSE 80
56COPY ${source:-obj/Docker/publish} .
67ENTRYPOINT ["dotnet", "Identity.API.dll"]
Original file line number Diff line number Diff line change 11FROM microsoft/dotnet:1.1-runtime-nanoserver
22ARG source
33WORKDIR /app
4+ RUN set-itemproperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord
45EXPOSE 80
56COPY ${source:-obj/Docker/publish} .
67ENTRYPOINT ["dotnet", "Ordering.API.dll"]
Original file line number Diff line number Diff line change 11FROM microsoft/dotnet:1.1-runtime-nanoserver
22ARG source
33WORKDIR /app
4+ RUN set-itemproperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord
45EXPOSE 80
56COPY ${source:-obj/Docker/publish} .
67ENTRYPOINT ["dotnet", "WebMVC.dll"]
Original file line number Diff line number Diff line change 11FROM microsoft/dotnet:1.1-runtime-nanoserver
22ARG source
33WORKDIR /app
4+ RUN set-itemproperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord
45EXPOSE 80
56COPY ${source:-obj/Docker/publish} .
67ENTRYPOINT ["dotnet", "WebSPA.dll"]
You can’t perform that action at this time.
0 commit comments