Browse Source

RUN dotnet dev-certs https -v -ep localhost.pfx -p XXXX

staging
yusuf karatoprak 5 years ago
parent
commit
9ab8d6d7ee
  1. 1
      Dockerfile.EventHub.HttpApi.Host
  2. 1
      Dockerfile.EventHub.IdentityServer
  3. 1
      Dockerfile.EventHub.Web

1
Dockerfile.EventHub.HttpApi.Host

@ -10,6 +10,7 @@ RUN dotnet restore "src/EventHub.HttpApi.Host/EventHub.HttpApi.Host.csproj"
COPY . . COPY . .
WORKDIR "/src/src/EventHub.HttpApi.Host" WORKDIR "/src/src/EventHub.HttpApi.Host"
RUN dotnet dev-certs https -v -ep localhost.pfx -p e8202f07-66e5-4619-be07-72ba76fde97f
RUN dotnet dev-certs https --trust RUN dotnet dev-certs https --trust
RUN dotnet build "EventHub.HttpApi.Host.csproj" -c Release -o /app RUN dotnet build "EventHub.HttpApi.Host.csproj" -c Release -o /app

1
Dockerfile.EventHub.IdentityServer

@ -10,6 +10,7 @@ RUN dotnet restore "src/EventHub.IdentityServer/EventHub.IdentityServer.csproj"
COPY . . COPY . .
WORKDIR "/src/src/EventHub.IdentityServer" WORKDIR "/src/src/EventHub.IdentityServer"
RUN dotnet dev-certs https -v -ep localhost.pfx -p e8202f07-66e5-4619-be07-72ba76fde97f
RUN dotnet dev-certs https --trust RUN dotnet dev-certs https --trust
RUN dotnet build "EventHub.IdentityServer.csproj" -c Release -o /app RUN dotnet build "EventHub.IdentityServer.csproj" -c Release -o /app

1
Dockerfile.EventHub.Web

@ -10,6 +10,7 @@ RUN dotnet restore "src/EventHub.Web/EventHub.Web.csproj"
COPY . . COPY . .
WORKDIR "/src/src/EventHub.Web" WORKDIR "/src/src/EventHub.Web"
RUN dotnet dev-certs https -v -ep localhost.pfx -p e8202f07-66e5-4619-be07-72ba76fde97f
RUN dotnet dev-certs https --trust RUN dotnet dev-certs https --trust
RUN dotnet build "EventHub.Web.csproj" -c Release -o /app RUN dotnet build "EventHub.Web.csproj" -c Release -o /app

Loading…
Cancel
Save