Browse Source

dotnet dev-certs https --trust

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

2
Dockerfile.EventHub.HttpApi.Host

@ -10,7 +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 --trust
RUN dotnet build "EventHub.HttpApi.Host.csproj" -c Release -o /app RUN dotnet build "EventHub.HttpApi.Host.csproj" -c Release -o /app
FROM build AS publish FROM build AS publish

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 --trust
RUN dotnet build "EventHub.IdentityServer.csproj" -c Release -o /app RUN dotnet build "EventHub.IdentityServer.csproj" -c Release -o /app
FROM build AS publish FROM build AS publish

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 --trust
RUN dotnet build "EventHub.Web.csproj" -c Release -o /app RUN dotnet build "EventHub.Web.csproj" -c Release -o /app
FROM build AS publish FROM build AS publish

Loading…
Cancel
Save