Browse Source

Tried patch proposed by Sandeep Bansal

pull/168/merge
etomas 7 years ago
parent
commit
3ec61e0df6
7 changed files with 8 additions and 0 deletions
  1. +2
    -0
      _docker/redis/Dockerfile.nanowin
  2. +1
    -0
      src/Services/Basket/Basket.API/Dockerfile.nanowin
  3. +1
    -0
      src/Services/Catalog/Catalog.API/Dockerfile.nanowin
  4. +1
    -0
      src/Services/Identity/Identity.API/Dockerfile.nanowin
  5. +1
    -0
      src/Services/Ordering/Ordering.API/Dockerfile.nanowin
  6. +1
    -0
      src/Web/WebMVC/Dockerfile.nanowin
  7. +1
    -0
      src/Web/WebSPA/Dockerfile.nanowin

+ 2
- 0
_docker/redis/Dockerfile.nanowin View File

@ -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
- 0
src/Services/Basket/Basket.API/Dockerfile.nanowin View File

@ -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
- 0
src/Services/Catalog/Catalog.API/Dockerfile.nanowin View File

@ -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
- 0
src/Services/Identity/Identity.API/Dockerfile.nanowin View File

@ -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
- 0
src/Services/Ordering/Ordering.API/Dockerfile.nanowin View File

@ -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
- 0
src/Web/WebMVC/Dockerfile.nanowin View File

@ -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
- 0
src/Web/WebSPA/Dockerfile.nanowin View File

@ -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…
Cancel
Save