Edition 0 Updated to asp. Net core 0


FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base  2 WORKDIR



Yüklə 11,82 Mb.
Pdf görüntüsü
səhifə76/288
tarix12.07.2023
ölçüsü11,82 Mb.
#136458
1   ...   72   73   74   75   76   77   78   79   ...   288
NET-Microservices-Architecture-for-Containerized-NET-Applications

FROM
mcr.microsoft.com/dotnet/aspnet:7.0 AS base 
2
WORKDIR
/app 
3
EXPOSE
80 

5
FROM
mcr.microsoft.com/dotnet/sdk:7.0 AS build 
6
WORKDIR
/src 
7
COPY
src/Services/Catalog/Catalog.API/Catalog.API.csproj …
8
COPY
src/BuildingBlocks/HealthChecks/src/Microsoft.AspNetCore.HealthChecks …
9
COPY
src/BuildingBlocks/HealthChecks/src/Microso
ft.Extensions.HealthChecks …
10
COPY
src/BuildingBlocks/EventBus/IntegrationEventLogEF/ …
11
COPY
src/BuildingBlocks/EventBus/EventBus/EventBus.csproj …
12
COPY
src/BuildingBlocks/EventBus/EventBusRabbitMQ/EventBusRabbitMQ.csproj …
13
COPY
src/Building
Blocks/EventBus/EventBusServiceBus/EventBusServiceBus.csproj …
14
COPY
src/BuildingBlocks/WebHostCustomization/WebHost.Customization …
15
COPY
src/BuildingBlocks/HealthChecks/src/Microsoft.Extensions …
16
COPY
src/BuildingBlocks/HealthChecks/src/Microso
ft.Extensions …
17
RUN
dotnet restore src/Services/Catalog/Catalog.API/Catalog.API.csproj 
18
COPY
. . 
19
WORKDIR
/src/src/Services/Catalog/Catalog.API 
20
RUN
dotnet build Catalog.API.csproj -c Release -o /app 
21 
22
FROM
build AS publish 
23
RUN
dotnet publish Catalog.API.csproj -c Release -o /app 
24 
25
FROM
base AS final 
26
WORKDIR
/app 
27
COPY
--from=publish /app . 
28
ENTRYPOINT
[
"dotnet"

"Catalog.API.dll"

And these are the details, line by line: 


Yüklə 11,82 Mb.

Dostları ilə paylaş:
1   ...   72   73   74   75   76   77   78   79   ...   288




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin