Copy the SSL certificate (.pfx) file to the /root/.aspnet/https/ in the linux containers
This commit is contained in:
parent
786b3c9542
commit
fa98fdf161
@ -17,6 +17,7 @@ FROM dotnet-build as build
|
|||||||
WORKDIR /src/src/Services/Identity/Identity.API/wwwroot
|
WORKDIR /src/src/Services/Identity/Identity.API/wwwroot
|
||||||
COPY --from=node-build /web/wwwroot .
|
COPY --from=node-build /web/wwwroot .
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
COPY ./Certificates/eShopOnContainers.pfx /root/.aspnet/https/
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/src/Services/Identity/Identity.API
|
WORKDIR /src/src/Services/Identity/Identity.API
|
||||||
RUN dotnet restore -nowarn:msb3202,nu1503
|
RUN dotnet restore -nowarn:msb3202,nu1503
|
||||||
|
@ -17,6 +17,7 @@ FROM dotnet-build as build
|
|||||||
WORKDIR /src/src/Web/WebMVC/wwwroot
|
WORKDIR /src/src/Web/WebMVC/wwwroot
|
||||||
COPY --from=node-build /web/wwwroot .
|
COPY --from=node-build /web/wwwroot .
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
COPY ./Certificates/eShopOnContainers.pfx /root/.aspnet/https/
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/src/Web/WebMVC
|
WORKDIR /src/src/Web/WebMVC
|
||||||
RUN dotnet restore -nowarn:msb3202,nu1503
|
RUN dotnet restore -nowarn:msb3202,nu1503
|
||||||
|
@ -17,6 +17,7 @@ FROM dotnet-build as publish
|
|||||||
WORKDIR /src/src/Web/WebSPA/wwwroot
|
WORKDIR /src/src/Web/WebSPA/wwwroot
|
||||||
COPY --from=node-build /web/wwwroot .
|
COPY --from=node-build /web/wwwroot .
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
COPY ./Certificates/eShopOnContainers.pfx /root/.aspnet/https/
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/src/Web/WebSPA
|
WORKDIR /src/src/Web/WebSPA
|
||||||
RUN dotnet publish -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user