Browse Source

Update deployment documents

pull/128/head
Onur Pıçakcı 4 years ago
parent
commit
a63520a668
  1. 2
      etc/azure/deploy-to-k8s.yml
  2. 4
      src/EventHub.Admin.HttpApi.Host/Dockerfile
  3. 2
      src/EventHub.Admin.Web/Dockerfile
  4. 4
      src/EventHub.BackgroundServices/Dockerfile
  5. 4
      src/EventHub.DbMigrator/Dockerfile
  6. 4
      src/EventHub.HttpApi.Host/Dockerfile
  7. 4
      src/EventHub.IdentityServer/Dockerfile
  8. 4
      src/EventHub.Web/Dockerfile

2
etc/azure/deploy-to-k8s.yml

@ -14,7 +14,7 @@ steps:
displayName: "Use .NET sdk"
inputs:
packageType: sdk
version: 6.0.x
version: 7.0.x
installationPath: $(Agent.ToolsDirectory)/dotnet
includePreviewVersions: true

4
src/EventHub.Admin.HttpApi.Host/Dockerfile

@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/aspnet:6.0.0-bullseye-slim
COPY bin/Release/net6.0/publish/ app/
FROM mcr.microsoft.com/dotnet/aspnet:7.0.0-bullseye-slim
COPY bin/Release/net7.0/publish/ app/
WORKDIR /app
ENTRYPOINT ["dotnet", "EventHub.Admin.HttpApi.Host.dll"]

2
src/EventHub.Admin.Web/Dockerfile

@ -1,3 +1,3 @@
FROM nginx:latest
COPY ./bin/Release/net6.0/publish/wwwroot/ /usr/share/nginx/html/
COPY ./bin/Release/net7.0/publish/wwwroot/ /usr/share/nginx/html/
COPY ./nginx.conf /etc/nginx/conf.d/default.conf

4
src/EventHub.BackgroundServices/Dockerfile

@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/aspnet:6.0.0-bullseye-slim
COPY bin/Release/net6.0/ app/
FROM mcr.microsoft.com/dotnet/aspnet:7.0.0-bullseye-slim
COPY bin/Release/net7.0/ app/
WORKDIR /app
ENTRYPOINT ["dotnet", "EventHub.BackgroundServices.dll"]

4
src/EventHub.DbMigrator/Dockerfile

@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/aspnet:6.0.0-bullseye-slim
COPY bin/Release/net6.0/ app/
FROM mcr.microsoft.com/dotnet/aspnet:7.0.0-bullseye-slim
COPY bin/Release/net7.0/ app/
WORKDIR /app
ENTRYPOINT ["dotnet", "EventHub.DbMigrator.dll"]

4
src/EventHub.HttpApi.Host/Dockerfile

@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/aspnet:6.0.0-bullseye-slim
COPY bin/Release/net6.0/publish/ app/
FROM mcr.microsoft.com/dotnet/aspnet:7.0.0-bullseye-slim
COPY bin/Release/net7.0/publish/ app/
WORKDIR /app
ENTRYPOINT ["dotnet", "EventHub.HttpApi.Host.dll"]

4
src/EventHub.IdentityServer/Dockerfile

@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/aspnet:6.0.0-bullseye-slim
COPY bin/Release/net6.0/publish/ app/
FROM mcr.microsoft.com/dotnet/aspnet:7.0.0-bullseye-slim
COPY bin/Release/net7.0/publish/ app/
WORKDIR /app
ENTRYPOINT ["dotnet", "EventHub.IdentityServer.dll"]

4
src/EventHub.Web/Dockerfile

@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/aspnet:6.0.0-bullseye-slim
COPY bin/Release/net6.0/publish/ app/
FROM mcr.microsoft.com/dotnet/aspnet:7.0.0-bullseye-slim
COPY bin/Release/net7.0/publish/ app/
WORKDIR /app
ENTRYPOINT ["dotnet", "EventHub.Web.dll"]
Loading…
Cancel
Save