Tried patch proposed by Sandeep Bansal
This commit is contained in:
parent
13503154f8
commit
3ec61e0df6
@ -22,6 +22,8 @@ RUN Get-Content redis.windows.conf | Where { $_ -notmatch 'bind 127.0.0.1' } | S
|
||||
|
||||
EXPOSE 6379
|
||||
|
||||
RUN set-itemproperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord
|
||||
|
||||
# Define our command to be run when launching the container
|
||||
CMD .\\redis-server.exe .\\redis.unprotected.conf --port 6379 ; \
|
||||
Write-Host Redis Started... ; \
|
||||
|
@ -1,6 +1,7 @@
|
||||
FROM microsoft/dotnet:1.1-runtime-nanoserver
|
||||
ARG source
|
||||
WORKDIR /app
|
||||
RUN set-itemproperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord
|
||||
EXPOSE 80
|
||||
COPY ${source:-obj/Docker/publish} .
|
||||
ENTRYPOINT ["dotnet", "Basket.API.dll"]
|
||||
|
@ -1,6 +1,7 @@
|
||||
FROM microsoft/dotnet:1.1-runtime-nanoserver
|
||||
ARG source
|
||||
WORKDIR /app
|
||||
RUN set-itemproperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord
|
||||
EXPOSE 80
|
||||
COPY ${source:-obj/Docker/publish} .
|
||||
ENTRYPOINT ["dotnet", "Catalog.API.dll"]
|
||||
|
@ -1,6 +1,7 @@
|
||||
FROM microsoft/dotnet:1.1-runtime-nanoserver
|
||||
ARG source
|
||||
WORKDIR /app
|
||||
RUN set-itemproperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord
|
||||
EXPOSE 80
|
||||
COPY ${source:-obj/Docker/publish} .
|
||||
ENTRYPOINT ["dotnet", "Identity.API.dll"]
|
||||
|
@ -1,6 +1,7 @@
|
||||
FROM microsoft/dotnet:1.1-runtime-nanoserver
|
||||
ARG source
|
||||
WORKDIR /app
|
||||
RUN set-itemproperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord
|
||||
EXPOSE 80
|
||||
COPY ${source:-obj/Docker/publish} .
|
||||
ENTRYPOINT ["dotnet", "Ordering.API.dll"]
|
||||
|
@ -1,6 +1,7 @@
|
||||
FROM microsoft/dotnet:1.1-runtime-nanoserver
|
||||
ARG source
|
||||
WORKDIR /app
|
||||
RUN set-itemproperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord
|
||||
EXPOSE 80
|
||||
COPY ${source:-obj/Docker/publish} .
|
||||
ENTRYPOINT ["dotnet", "WebMVC.dll"]
|
||||
|
@ -1,6 +1,7 @@
|
||||
FROM microsoft/dotnet:1.1-runtime-nanoserver
|
||||
ARG source
|
||||
WORKDIR /app
|
||||
RUN set-itemproperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord
|
||||
EXPOSE 80
|
||||
COPY ${source:-obj/Docker/publish} .
|
||||
ENTRYPOINT ["dotnet", "WebSPA.dll"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user