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
|
||||
COPY --from=node-build /web/wwwroot .
|
||||
WORKDIR /src
|
||||
COPY ./Certificates/eShopOnContainers.pfx /root/.aspnet/https/
|
||||
COPY . .
|
||||
WORKDIR /src/src/Services/Identity/Identity.API
|
||||
RUN dotnet restore -nowarn:msb3202,nu1503
|
||||
|
@ -17,6 +17,7 @@ FROM dotnet-build as build
|
||||
WORKDIR /src/src/Web/WebMVC/wwwroot
|
||||
COPY --from=node-build /web/wwwroot .
|
||||
WORKDIR /src
|
||||
COPY ./Certificates/eShopOnContainers.pfx /root/.aspnet/https/
|
||||
COPY . .
|
||||
WORKDIR /src/src/Web/WebMVC
|
||||
RUN dotnet restore -nowarn:msb3202,nu1503
|
||||
|
@ -17,6 +17,7 @@ FROM dotnet-build as publish
|
||||
WORKDIR /src/src/Web/WebSPA/wwwroot
|
||||
COPY --from=node-build /web/wwwroot .
|
||||
WORKDIR /src
|
||||
COPY ./Certificates/eShopOnContainers.pfx /root/.aspnet/https/
|
||||
COPY . .
|
||||
WORKDIR /src/src/Web/WebSPA
|
||||
RUN dotnet publish -c Release -o /app
|
||||
|
Loading…
x
Reference in New Issue
Block a user