Streamline Dockerfiles
This commit is contained in:
parent
be75d554f2
commit
06018d4080
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
for f in $(find /src/src -type f -name "*.csproj"); do dotnet restore $f; done
|
for f in /src/csproj-files/*.csproj; do dotnet restore $f; done
|
||||||
|
@ -7,36 +7,17 @@ WORKDIR /src
|
|||||||
|
|
||||||
COPY Dockerfile-scripts Dockerfile-scripts/
|
COPY Dockerfile-scripts Dockerfile-scripts/
|
||||||
|
|
||||||
COPY src/ApiGateways/ApiGw-Base/*.csproj /src/src/ApiGateways/ApiGw-Base/
|
COPY src/ApiGateways/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Mobile.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Mobile.Bff.Shopping/aggregator/
|
COPY src/ApiGateways/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Web.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Web.Bff.Shopping/aggregator/
|
COPY src/BuildingBlocks/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBus/
|
COPY src/Services/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusRabbitMQ/*.csproj /src/src/BuildingBlocks/EventBus/EventBusRabbitMQ/
|
COPY src/Web/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusServiceBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBusServiceBus/
|
|
||||||
COPY src/BuildingBlocks/EventBus/IntegrationEventLogEF/*.csproj /src/src/BuildingBlocks/EventBus/IntegrationEventLogEF/
|
|
||||||
COPY src/BuildingBlocks/WebHostCustomization/WebHost.Customization/*.csproj /src/src/BuildingBlocks/WebHostCustomization/WebHost.Customization/
|
|
||||||
COPY src/Services/Basket/Basket.API/*.csproj /src/src/Services/Basket/Basket.API/
|
|
||||||
COPY src/Services/Catalog/Catalog.API/*.csproj /src/src/Services/Catalog/Catalog.API/
|
|
||||||
COPY src/Services/Identity/Identity.API/*.csproj /src/src/Services/Identity/Identity.API/
|
|
||||||
COPY src/Services/Location/Locations.API/*.csproj /src/src/Services/Location/Locations.API/
|
|
||||||
COPY src/Services/Marketing/Marketing.API/*.csproj /src/src/Services/Marketing/Marketing.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.API/*.csproj /src/src/Services/Ordering/Ordering.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.BackgroundTasks/*.csproj /src/src/Services/Ordering/Ordering.BackgroundTasks/
|
|
||||||
COPY src/Services/Ordering/Ordering.Domain/*.csproj /src/src/Services/Ordering/Ordering.Domain/
|
|
||||||
COPY src/Services/Ordering/Ordering.Infrastructure/*.csproj /src/src/Services/Ordering/Ordering.Infrastructure/
|
|
||||||
COPY src/Services/Ordering/Ordering.SignalrHub/*.csproj /src/src/Services/Ordering/Ordering.SignalrHub/
|
|
||||||
COPY src/Services/Payment/Payment.API/*.csproj /src/src/Services/Payment/Payment.API/
|
|
||||||
COPY src/Services/Webhooks/Webhooks.API/*.csproj /src/src/Services/Webhooks/Webhooks.API/
|
|
||||||
COPY src/Web/WebhookClient/*.csproj /src/src/Web/WebhookClient/
|
|
||||||
COPY src/Web/WebMVC/*.csproj /src/src/Web/WebMVC/
|
|
||||||
COPY src/Web/WebSPA/*.csproj /src/src/Web/WebSPA/
|
|
||||||
COPY src/Web/WebStatus/*.csproj /src/src/Web/WebStatus/
|
|
||||||
|
|
||||||
RUN Dockerfile-scripts/restore-packages
|
RUN Dockerfile-scripts/restore-packages
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/src/ApiGateways/ApiGw-Base/
|
WORKDIR /src/src/ApiGateways/ApiGw-Base/
|
||||||
RUN dotnet build --no-restore -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
|
|
||||||
|
@ -7,36 +7,17 @@ WORKDIR /src
|
|||||||
|
|
||||||
COPY Dockerfile-scripts Dockerfile-scripts/
|
COPY Dockerfile-scripts Dockerfile-scripts/
|
||||||
|
|
||||||
COPY src/ApiGateways/ApiGw-Base/*.csproj /src/src/ApiGateways/ApiGw-Base/
|
COPY src/ApiGateways/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Mobile.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Mobile.Bff.Shopping/aggregator/
|
COPY src/ApiGateways/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Web.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Web.Bff.Shopping/aggregator/
|
COPY src/BuildingBlocks/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBus/
|
COPY src/Services/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusRabbitMQ/*.csproj /src/src/BuildingBlocks/EventBus/EventBusRabbitMQ/
|
COPY src/Web/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusServiceBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBusServiceBus/
|
|
||||||
COPY src/BuildingBlocks/EventBus/IntegrationEventLogEF/*.csproj /src/src/BuildingBlocks/EventBus/IntegrationEventLogEF/
|
|
||||||
COPY src/BuildingBlocks/WebHostCustomization/WebHost.Customization/*.csproj /src/src/BuildingBlocks/WebHostCustomization/WebHost.Customization/
|
|
||||||
COPY src/Services/Basket/Basket.API/*.csproj /src/src/Services/Basket/Basket.API/
|
|
||||||
COPY src/Services/Catalog/Catalog.API/*.csproj /src/src/Services/Catalog/Catalog.API/
|
|
||||||
COPY src/Services/Identity/Identity.API/*.csproj /src/src/Services/Identity/Identity.API/
|
|
||||||
COPY src/Services/Location/Locations.API/*.csproj /src/src/Services/Location/Locations.API/
|
|
||||||
COPY src/Services/Marketing/Marketing.API/*.csproj /src/src/Services/Marketing/Marketing.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.API/*.csproj /src/src/Services/Ordering/Ordering.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.BackgroundTasks/*.csproj /src/src/Services/Ordering/Ordering.BackgroundTasks/
|
|
||||||
COPY src/Services/Ordering/Ordering.Domain/*.csproj /src/src/Services/Ordering/Ordering.Domain/
|
|
||||||
COPY src/Services/Ordering/Ordering.Infrastructure/*.csproj /src/src/Services/Ordering/Ordering.Infrastructure/
|
|
||||||
COPY src/Services/Ordering/Ordering.SignalrHub/*.csproj /src/src/Services/Ordering/Ordering.SignalrHub/
|
|
||||||
COPY src/Services/Payment/Payment.API/*.csproj /src/src/Services/Payment/Payment.API/
|
|
||||||
COPY src/Services/Webhooks/Webhooks.API/*.csproj /src/src/Services/Webhooks/Webhooks.API/
|
|
||||||
COPY src/Web/WebhookClient/*.csproj /src/src/Web/WebhookClient/
|
|
||||||
COPY src/Web/WebMVC/*.csproj /src/src/Web/WebMVC/
|
|
||||||
COPY src/Web/WebSPA/*.csproj /src/src/Web/WebSPA/
|
|
||||||
COPY src/Web/WebStatus/*.csproj /src/src/Web/WebStatus/
|
|
||||||
|
|
||||||
RUN Dockerfile-scripts/restore-packages
|
RUN Dockerfile-scripts/restore-packages
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/src/ApiGateways/Mobile.Bff.Shopping/aggregator
|
WORKDIR /src/src/ApiGateways/Mobile.Bff.Shopping/aggregator
|
||||||
RUN dotnet build --no-restore -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
|
|
||||||
|
@ -7,36 +7,17 @@ WORKDIR /src
|
|||||||
|
|
||||||
COPY Dockerfile-scripts Dockerfile-scripts/
|
COPY Dockerfile-scripts Dockerfile-scripts/
|
||||||
|
|
||||||
COPY src/ApiGateways/ApiGw-Base/*.csproj /src/src/ApiGateways/ApiGw-Base/
|
COPY src/ApiGateways/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Mobile.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Mobile.Bff.Shopping/aggregator/
|
COPY src/ApiGateways/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Web.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Web.Bff.Shopping/aggregator/
|
COPY src/BuildingBlocks/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBus/
|
COPY src/Services/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusRabbitMQ/*.csproj /src/src/BuildingBlocks/EventBus/EventBusRabbitMQ/
|
COPY src/Web/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusServiceBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBusServiceBus/
|
|
||||||
COPY src/BuildingBlocks/EventBus/IntegrationEventLogEF/*.csproj /src/src/BuildingBlocks/EventBus/IntegrationEventLogEF/
|
|
||||||
COPY src/BuildingBlocks/WebHostCustomization/WebHost.Customization/*.csproj /src/src/BuildingBlocks/WebHostCustomization/WebHost.Customization/
|
|
||||||
COPY src/Services/Basket/Basket.API/*.csproj /src/src/Services/Basket/Basket.API/
|
|
||||||
COPY src/Services/Catalog/Catalog.API/*.csproj /src/src/Services/Catalog/Catalog.API/
|
|
||||||
COPY src/Services/Identity/Identity.API/*.csproj /src/src/Services/Identity/Identity.API/
|
|
||||||
COPY src/Services/Location/Locations.API/*.csproj /src/src/Services/Location/Locations.API/
|
|
||||||
COPY src/Services/Marketing/Marketing.API/*.csproj /src/src/Services/Marketing/Marketing.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.API/*.csproj /src/src/Services/Ordering/Ordering.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.BackgroundTasks/*.csproj /src/src/Services/Ordering/Ordering.BackgroundTasks/
|
|
||||||
COPY src/Services/Ordering/Ordering.Domain/*.csproj /src/src/Services/Ordering/Ordering.Domain/
|
|
||||||
COPY src/Services/Ordering/Ordering.Infrastructure/*.csproj /src/src/Services/Ordering/Ordering.Infrastructure/
|
|
||||||
COPY src/Services/Ordering/Ordering.SignalrHub/*.csproj /src/src/Services/Ordering/Ordering.SignalrHub/
|
|
||||||
COPY src/Services/Payment/Payment.API/*.csproj /src/src/Services/Payment/Payment.API/
|
|
||||||
COPY src/Services/Webhooks/Webhooks.API/*.csproj /src/src/Services/Webhooks/Webhooks.API/
|
|
||||||
COPY src/Web/WebhookClient/*.csproj /src/src/Web/WebhookClient/
|
|
||||||
COPY src/Web/WebMVC/*.csproj /src/src/Web/WebMVC/
|
|
||||||
COPY src/Web/WebSPA/*.csproj /src/src/Web/WebSPA/
|
|
||||||
COPY src/Web/WebStatus/*.csproj /src/src/Web/WebStatus/
|
|
||||||
|
|
||||||
RUN Dockerfile-scripts/restore-packages
|
RUN Dockerfile-scripts/restore-packages
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/src/ApiGateways/Web.Bff.Shopping/aggregator
|
WORKDIR /src/src/ApiGateways/Web.Bff.Shopping/aggregator
|
||||||
RUN dotnet build --no-restore -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
|
|
||||||
|
@ -7,36 +7,17 @@ WORKDIR /src
|
|||||||
|
|
||||||
COPY Dockerfile-scripts Dockerfile-scripts/
|
COPY Dockerfile-scripts Dockerfile-scripts/
|
||||||
|
|
||||||
COPY src/ApiGateways/ApiGw-Base/*.csproj /src/src/ApiGateways/ApiGw-Base/
|
COPY src/ApiGateways/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Mobile.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Mobile.Bff.Shopping/aggregator/
|
COPY src/ApiGateways/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Web.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Web.Bff.Shopping/aggregator/
|
COPY src/BuildingBlocks/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBus/
|
COPY src/Services/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusRabbitMQ/*.csproj /src/src/BuildingBlocks/EventBus/EventBusRabbitMQ/
|
COPY src/Web/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusServiceBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBusServiceBus/
|
|
||||||
COPY src/BuildingBlocks/EventBus/IntegrationEventLogEF/*.csproj /src/src/BuildingBlocks/EventBus/IntegrationEventLogEF/
|
|
||||||
COPY src/BuildingBlocks/WebHostCustomization/WebHost.Customization/*.csproj /src/src/BuildingBlocks/WebHostCustomization/WebHost.Customization/
|
|
||||||
COPY src/Services/Basket/Basket.API/*.csproj /src/src/Services/Basket/Basket.API/
|
|
||||||
COPY src/Services/Catalog/Catalog.API/*.csproj /src/src/Services/Catalog/Catalog.API/
|
|
||||||
COPY src/Services/Identity/Identity.API/*.csproj /src/src/Services/Identity/Identity.API/
|
|
||||||
COPY src/Services/Location/Locations.API/*.csproj /src/src/Services/Location/Locations.API/
|
|
||||||
COPY src/Services/Marketing/Marketing.API/*.csproj /src/src/Services/Marketing/Marketing.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.API/*.csproj /src/src/Services/Ordering/Ordering.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.BackgroundTasks/*.csproj /src/src/Services/Ordering/Ordering.BackgroundTasks/
|
|
||||||
COPY src/Services/Ordering/Ordering.Domain/*.csproj /src/src/Services/Ordering/Ordering.Domain/
|
|
||||||
COPY src/Services/Ordering/Ordering.Infrastructure/*.csproj /src/src/Services/Ordering/Ordering.Infrastructure/
|
|
||||||
COPY src/Services/Ordering/Ordering.SignalrHub/*.csproj /src/src/Services/Ordering/Ordering.SignalrHub/
|
|
||||||
COPY src/Services/Payment/Payment.API/*.csproj /src/src/Services/Payment/Payment.API/
|
|
||||||
COPY src/Services/Webhooks/Webhooks.API/*.csproj /src/src/Services/Webhooks/Webhooks.API/
|
|
||||||
COPY src/Web/WebhookClient/*.csproj /src/src/Web/WebhookClient/
|
|
||||||
COPY src/Web/WebMVC/*.csproj /src/src/Web/WebMVC/
|
|
||||||
COPY src/Web/WebSPA/*.csproj /src/src/Web/WebSPA/
|
|
||||||
COPY src/Web/WebStatus/*.csproj /src/src/Web/WebStatus/
|
|
||||||
|
|
||||||
RUN Dockerfile-scripts/restore-packages
|
RUN Dockerfile-scripts/restore-packages
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/src/Services/Basket/Basket.API
|
WORKDIR /src/src/Services/Basket/Basket.API
|
||||||
RUN dotnet build --no-restore -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
|
||||||
FROM build as unittest
|
FROM build as unittest
|
||||||
WORKDIR /src/src/Services/Basket/Basket.UnitTests
|
WORKDIR /src/src/Services/Basket/Basket.UnitTests
|
||||||
|
@ -7,36 +7,17 @@ WORKDIR /src
|
|||||||
|
|
||||||
COPY Dockerfile-scripts Dockerfile-scripts/
|
COPY Dockerfile-scripts Dockerfile-scripts/
|
||||||
|
|
||||||
COPY src/ApiGateways/ApiGw-Base/*.csproj /src/src/ApiGateways/ApiGw-Base/
|
COPY src/ApiGateways/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Mobile.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Mobile.Bff.Shopping/aggregator/
|
COPY src/ApiGateways/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Web.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Web.Bff.Shopping/aggregator/
|
COPY src/BuildingBlocks/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBus/
|
COPY src/Services/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusRabbitMQ/*.csproj /src/src/BuildingBlocks/EventBus/EventBusRabbitMQ/
|
COPY src/Web/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusServiceBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBusServiceBus/
|
|
||||||
COPY src/BuildingBlocks/EventBus/IntegrationEventLogEF/*.csproj /src/src/BuildingBlocks/EventBus/IntegrationEventLogEF/
|
|
||||||
COPY src/BuildingBlocks/WebHostCustomization/WebHost.Customization/*.csproj /src/src/BuildingBlocks/WebHostCustomization/WebHost.Customization/
|
|
||||||
COPY src/Services/Basket/Basket.API/*.csproj /src/src/Services/Basket/Basket.API/
|
|
||||||
COPY src/Services/Catalog/Catalog.API/*.csproj /src/src/Services/Catalog/Catalog.API/
|
|
||||||
COPY src/Services/Identity/Identity.API/*.csproj /src/src/Services/Identity/Identity.API/
|
|
||||||
COPY src/Services/Location/Locations.API/*.csproj /src/src/Services/Location/Locations.API/
|
|
||||||
COPY src/Services/Marketing/Marketing.API/*.csproj /src/src/Services/Marketing/Marketing.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.API/*.csproj /src/src/Services/Ordering/Ordering.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.BackgroundTasks/*.csproj /src/src/Services/Ordering/Ordering.BackgroundTasks/
|
|
||||||
COPY src/Services/Ordering/Ordering.Domain/*.csproj /src/src/Services/Ordering/Ordering.Domain/
|
|
||||||
COPY src/Services/Ordering/Ordering.Infrastructure/*.csproj /src/src/Services/Ordering/Ordering.Infrastructure/
|
|
||||||
COPY src/Services/Ordering/Ordering.SignalrHub/*.csproj /src/src/Services/Ordering/Ordering.SignalrHub/
|
|
||||||
COPY src/Services/Payment/Payment.API/*.csproj /src/src/Services/Payment/Payment.API/
|
|
||||||
COPY src/Services/Webhooks/Webhooks.API/*.csproj /src/src/Services/Webhooks/Webhooks.API/
|
|
||||||
COPY src/Web/WebhookClient/*.csproj /src/src/Web/WebhookClient/
|
|
||||||
COPY src/Web/WebMVC/*.csproj /src/src/Web/WebMVC/
|
|
||||||
COPY src/Web/WebSPA/*.csproj /src/src/Web/WebSPA/
|
|
||||||
COPY src/Web/WebStatus/*.csproj /src/src/Web/WebStatus/
|
|
||||||
|
|
||||||
RUN Dockerfile-scripts/restore-packages
|
RUN Dockerfile-scripts/restore-packages
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/src/Services/Catalog/Catalog.API
|
WORKDIR /src/src/Services/Catalog/Catalog.API
|
||||||
RUN dotnet build --no-restore -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
|
||||||
FROM build as unittest
|
FROM build as unittest
|
||||||
WORKDIR /src/src/Services/Catalog/Catalog.UnitTests
|
WORKDIR /src/src/Services/Catalog/Catalog.UnitTests
|
||||||
|
@ -7,36 +7,17 @@ WORKDIR /src
|
|||||||
|
|
||||||
COPY Dockerfile-scripts Dockerfile-scripts/
|
COPY Dockerfile-scripts Dockerfile-scripts/
|
||||||
|
|
||||||
COPY src/ApiGateways/ApiGw-Base/*.csproj /src/src/ApiGateways/ApiGw-Base/
|
COPY src/ApiGateways/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Mobile.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Mobile.Bff.Shopping/aggregator/
|
COPY src/ApiGateways/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Web.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Web.Bff.Shopping/aggregator/
|
COPY src/BuildingBlocks/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBus/
|
COPY src/Services/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusRabbitMQ/*.csproj /src/src/BuildingBlocks/EventBus/EventBusRabbitMQ/
|
COPY src/Web/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusServiceBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBusServiceBus/
|
|
||||||
COPY src/BuildingBlocks/EventBus/IntegrationEventLogEF/*.csproj /src/src/BuildingBlocks/EventBus/IntegrationEventLogEF/
|
|
||||||
COPY src/BuildingBlocks/WebHostCustomization/WebHost.Customization/*.csproj /src/src/BuildingBlocks/WebHostCustomization/WebHost.Customization/
|
|
||||||
COPY src/Services/Basket/Basket.API/*.csproj /src/src/Services/Basket/Basket.API/
|
|
||||||
COPY src/Services/Catalog/Catalog.API/*.csproj /src/src/Services/Catalog/Catalog.API/
|
|
||||||
COPY src/Services/Identity/Identity.API/*.csproj /src/src/Services/Identity/Identity.API/
|
|
||||||
COPY src/Services/Location/Locations.API/*.csproj /src/src/Services/Location/Locations.API/
|
|
||||||
COPY src/Services/Marketing/Marketing.API/*.csproj /src/src/Services/Marketing/Marketing.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.API/*.csproj /src/src/Services/Ordering/Ordering.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.BackgroundTasks/*.csproj /src/src/Services/Ordering/Ordering.BackgroundTasks/
|
|
||||||
COPY src/Services/Ordering/Ordering.Domain/*.csproj /src/src/Services/Ordering/Ordering.Domain/
|
|
||||||
COPY src/Services/Ordering/Ordering.Infrastructure/*.csproj /src/src/Services/Ordering/Ordering.Infrastructure/
|
|
||||||
COPY src/Services/Ordering/Ordering.SignalrHub/*.csproj /src/src/Services/Ordering/Ordering.SignalrHub/
|
|
||||||
COPY src/Services/Payment/Payment.API/*.csproj /src/src/Services/Payment/Payment.API/
|
|
||||||
COPY src/Services/Webhooks/Webhooks.API/*.csproj /src/src/Services/Webhooks/Webhooks.API/
|
|
||||||
COPY src/Web/WebhookClient/*.csproj /src/src/Web/WebhookClient/
|
|
||||||
COPY src/Web/WebMVC/*.csproj /src/src/Web/WebMVC/
|
|
||||||
COPY src/Web/WebSPA/*.csproj /src/src/Web/WebSPA/
|
|
||||||
COPY src/Web/WebStatus/*.csproj /src/src/Web/WebStatus/
|
|
||||||
|
|
||||||
RUN Dockerfile-scripts/restore-packages
|
RUN Dockerfile-scripts/restore-packages
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/src/Services/Identity/Identity.API
|
WORKDIR /src/src/Services/Identity/Identity.API
|
||||||
RUN dotnet build --no-restore -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
|
|
||||||
|
@ -7,36 +7,17 @@ WORKDIR /src
|
|||||||
|
|
||||||
COPY Dockerfile-scripts Dockerfile-scripts/
|
COPY Dockerfile-scripts Dockerfile-scripts/
|
||||||
|
|
||||||
COPY src/ApiGateways/ApiGw-Base/*.csproj /src/src/ApiGateways/ApiGw-Base/
|
COPY src/ApiGateways/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Mobile.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Mobile.Bff.Shopping/aggregator/
|
COPY src/ApiGateways/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Web.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Web.Bff.Shopping/aggregator/
|
COPY src/BuildingBlocks/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBus/
|
COPY src/Services/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusRabbitMQ/*.csproj /src/src/BuildingBlocks/EventBus/EventBusRabbitMQ/
|
COPY src/Web/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusServiceBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBusServiceBus/
|
|
||||||
COPY src/BuildingBlocks/EventBus/IntegrationEventLogEF/*.csproj /src/src/BuildingBlocks/EventBus/IntegrationEventLogEF/
|
|
||||||
COPY src/BuildingBlocks/WebHostCustomization/WebHost.Customization/*.csproj /src/src/BuildingBlocks/WebHostCustomization/WebHost.Customization/
|
|
||||||
COPY src/Services/Basket/Basket.API/*.csproj /src/src/Services/Basket/Basket.API/
|
|
||||||
COPY src/Services/Catalog/Catalog.API/*.csproj /src/src/Services/Catalog/Catalog.API/
|
|
||||||
COPY src/Services/Identity/Identity.API/*.csproj /src/src/Services/Identity/Identity.API/
|
|
||||||
COPY src/Services/Location/Locations.API/*.csproj /src/src/Services/Location/Locations.API/
|
|
||||||
COPY src/Services/Marketing/Marketing.API/*.csproj /src/src/Services/Marketing/Marketing.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.API/*.csproj /src/src/Services/Ordering/Ordering.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.BackgroundTasks/*.csproj /src/src/Services/Ordering/Ordering.BackgroundTasks/
|
|
||||||
COPY src/Services/Ordering/Ordering.Domain/*.csproj /src/src/Services/Ordering/Ordering.Domain/
|
|
||||||
COPY src/Services/Ordering/Ordering.Infrastructure/*.csproj /src/src/Services/Ordering/Ordering.Infrastructure/
|
|
||||||
COPY src/Services/Ordering/Ordering.SignalrHub/*.csproj /src/src/Services/Ordering/Ordering.SignalrHub/
|
|
||||||
COPY src/Services/Payment/Payment.API/*.csproj /src/src/Services/Payment/Payment.API/
|
|
||||||
COPY src/Services/Webhooks/Webhooks.API/*.csproj /src/src/Services/Webhooks/Webhooks.API/
|
|
||||||
COPY src/Web/WebhookClient/*.csproj /src/src/Web/WebhookClient/
|
|
||||||
COPY src/Web/WebMVC/*.csproj /src/src/Web/WebMVC/
|
|
||||||
COPY src/Web/WebSPA/*.csproj /src/src/Web/WebSPA/
|
|
||||||
COPY src/Web/WebStatus/*.csproj /src/src/Web/WebStatus/
|
|
||||||
|
|
||||||
RUN Dockerfile-scripts/restore-packages
|
RUN Dockerfile-scripts/restore-packages
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/src/Services/Location/Locations.API
|
WORKDIR /src/src/Services/Location/Locations.API
|
||||||
RUN dotnet build --no-restore -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
|
||||||
FROM build as functionaltest
|
FROM build as functionaltest
|
||||||
WORKDIR /src/src/Services/Location/Locations.FunctionalTests
|
WORKDIR /src/src/Services/Location/Locations.FunctionalTests
|
||||||
|
@ -7,36 +7,17 @@ WORKDIR /src
|
|||||||
|
|
||||||
COPY Dockerfile-scripts Dockerfile-scripts/
|
COPY Dockerfile-scripts Dockerfile-scripts/
|
||||||
|
|
||||||
COPY src/ApiGateways/ApiGw-Base/*.csproj /src/src/ApiGateways/ApiGw-Base/
|
COPY src/ApiGateways/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Mobile.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Mobile.Bff.Shopping/aggregator/
|
COPY src/ApiGateways/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Web.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Web.Bff.Shopping/aggregator/
|
COPY src/BuildingBlocks/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBus/
|
COPY src/Services/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusRabbitMQ/*.csproj /src/src/BuildingBlocks/EventBus/EventBusRabbitMQ/
|
COPY src/Web/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusServiceBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBusServiceBus/
|
|
||||||
COPY src/BuildingBlocks/EventBus/IntegrationEventLogEF/*.csproj /src/src/BuildingBlocks/EventBus/IntegrationEventLogEF/
|
|
||||||
COPY src/BuildingBlocks/WebHostCustomization/WebHost.Customization/*.csproj /src/src/BuildingBlocks/WebHostCustomization/WebHost.Customization/
|
|
||||||
COPY src/Services/Basket/Basket.API/*.csproj /src/src/Services/Basket/Basket.API/
|
|
||||||
COPY src/Services/Catalog/Catalog.API/*.csproj /src/src/Services/Catalog/Catalog.API/
|
|
||||||
COPY src/Services/Identity/Identity.API/*.csproj /src/src/Services/Identity/Identity.API/
|
|
||||||
COPY src/Services/Location/Locations.API/*.csproj /src/src/Services/Location/Locations.API/
|
|
||||||
COPY src/Services/Marketing/Marketing.API/*.csproj /src/src/Services/Marketing/Marketing.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.API/*.csproj /src/src/Services/Ordering/Ordering.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.BackgroundTasks/*.csproj /src/src/Services/Ordering/Ordering.BackgroundTasks/
|
|
||||||
COPY src/Services/Ordering/Ordering.Domain/*.csproj /src/src/Services/Ordering/Ordering.Domain/
|
|
||||||
COPY src/Services/Ordering/Ordering.Infrastructure/*.csproj /src/src/Services/Ordering/Ordering.Infrastructure/
|
|
||||||
COPY src/Services/Ordering/Ordering.SignalrHub/*.csproj /src/src/Services/Ordering/Ordering.SignalrHub/
|
|
||||||
COPY src/Services/Payment/Payment.API/*.csproj /src/src/Services/Payment/Payment.API/
|
|
||||||
COPY src/Services/Webhooks/Webhooks.API/*.csproj /src/src/Services/Webhooks/Webhooks.API/
|
|
||||||
COPY src/Web/WebhookClient/*.csproj /src/src/Web/WebhookClient/
|
|
||||||
COPY src/Web/WebMVC/*.csproj /src/src/Web/WebMVC/
|
|
||||||
COPY src/Web/WebSPA/*.csproj /src/src/Web/WebSPA/
|
|
||||||
COPY src/Web/WebStatus/*.csproj /src/src/Web/WebStatus/
|
|
||||||
|
|
||||||
RUN Dockerfile-scripts/restore-packages
|
RUN Dockerfile-scripts/restore-packages
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/src/Services/Marketing/Marketing.API
|
WORKDIR /src/src/Services/Marketing/Marketing.API
|
||||||
RUN dotnet build --no-restore -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
|
||||||
FROM build as functionaltest
|
FROM build as functionaltest
|
||||||
WORKDIR /src/src/Services/Marketing/Marketing.FunctionalTests
|
WORKDIR /src/src/Services/Marketing/Marketing.FunctionalTests
|
||||||
|
@ -7,36 +7,17 @@ WORKDIR /src
|
|||||||
|
|
||||||
COPY Dockerfile-scripts Dockerfile-scripts/
|
COPY Dockerfile-scripts Dockerfile-scripts/
|
||||||
|
|
||||||
COPY src/ApiGateways/ApiGw-Base/*.csproj /src/src/ApiGateways/ApiGw-Base/
|
COPY src/ApiGateways/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Mobile.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Mobile.Bff.Shopping/aggregator/
|
COPY src/ApiGateways/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Web.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Web.Bff.Shopping/aggregator/
|
COPY src/BuildingBlocks/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBus/
|
COPY src/Services/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusRabbitMQ/*.csproj /src/src/BuildingBlocks/EventBus/EventBusRabbitMQ/
|
COPY src/Web/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusServiceBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBusServiceBus/
|
|
||||||
COPY src/BuildingBlocks/EventBus/IntegrationEventLogEF/*.csproj /src/src/BuildingBlocks/EventBus/IntegrationEventLogEF/
|
|
||||||
COPY src/BuildingBlocks/WebHostCustomization/WebHost.Customization/*.csproj /src/src/BuildingBlocks/WebHostCustomization/WebHost.Customization/
|
|
||||||
COPY src/Services/Basket/Basket.API/*.csproj /src/src/Services/Basket/Basket.API/
|
|
||||||
COPY src/Services/Catalog/Catalog.API/*.csproj /src/src/Services/Catalog/Catalog.API/
|
|
||||||
COPY src/Services/Identity/Identity.API/*.csproj /src/src/Services/Identity/Identity.API/
|
|
||||||
COPY src/Services/Location/Locations.API/*.csproj /src/src/Services/Location/Locations.API/
|
|
||||||
COPY src/Services/Marketing/Marketing.API/*.csproj /src/src/Services/Marketing/Marketing.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.API/*.csproj /src/src/Services/Ordering/Ordering.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.BackgroundTasks/*.csproj /src/src/Services/Ordering/Ordering.BackgroundTasks/
|
|
||||||
COPY src/Services/Ordering/Ordering.Domain/*.csproj /src/src/Services/Ordering/Ordering.Domain/
|
|
||||||
COPY src/Services/Ordering/Ordering.Infrastructure/*.csproj /src/src/Services/Ordering/Ordering.Infrastructure/
|
|
||||||
COPY src/Services/Ordering/Ordering.SignalrHub/*.csproj /src/src/Services/Ordering/Ordering.SignalrHub/
|
|
||||||
COPY src/Services/Payment/Payment.API/*.csproj /src/src/Services/Payment/Payment.API/
|
|
||||||
COPY src/Services/Webhooks/Webhooks.API/*.csproj /src/src/Services/Webhooks/Webhooks.API/
|
|
||||||
COPY src/Web/WebhookClient/*.csproj /src/src/Web/WebhookClient/
|
|
||||||
COPY src/Web/WebMVC/*.csproj /src/src/Web/WebMVC/
|
|
||||||
COPY src/Web/WebSPA/*.csproj /src/src/Web/WebSPA/
|
|
||||||
COPY src/Web/WebStatus/*.csproj /src/src/Web/WebStatus/
|
|
||||||
|
|
||||||
RUN Dockerfile-scripts/restore-packages
|
RUN Dockerfile-scripts/restore-packages
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/src/Services/Ordering/Ordering.API
|
WORKDIR /src/src/Services/Ordering/Ordering.API
|
||||||
RUN dotnet build --no-restore -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
|
||||||
FROM build as unittest
|
FROM build as unittest
|
||||||
WORKDIR /src/src/Services/Ordering/Ordering.UnitTests
|
WORKDIR /src/src/Services/Ordering/Ordering.UnitTests
|
||||||
|
@ -7,36 +7,17 @@ WORKDIR /src
|
|||||||
|
|
||||||
COPY Dockerfile-scripts Dockerfile-scripts/
|
COPY Dockerfile-scripts Dockerfile-scripts/
|
||||||
|
|
||||||
COPY src/ApiGateways/ApiGw-Base/*.csproj /src/src/ApiGateways/ApiGw-Base/
|
COPY src/ApiGateways/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Mobile.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Mobile.Bff.Shopping/aggregator/
|
COPY src/ApiGateways/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Web.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Web.Bff.Shopping/aggregator/
|
COPY src/BuildingBlocks/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBus/
|
COPY src/Services/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusRabbitMQ/*.csproj /src/src/BuildingBlocks/EventBus/EventBusRabbitMQ/
|
COPY src/Web/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusServiceBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBusServiceBus/
|
|
||||||
COPY src/BuildingBlocks/EventBus/IntegrationEventLogEF/*.csproj /src/src/BuildingBlocks/EventBus/IntegrationEventLogEF/
|
|
||||||
COPY src/BuildingBlocks/WebHostCustomization/WebHost.Customization/*.csproj /src/src/BuildingBlocks/WebHostCustomization/WebHost.Customization/
|
|
||||||
COPY src/Services/Basket/Basket.API/*.csproj /src/src/Services/Basket/Basket.API/
|
|
||||||
COPY src/Services/Catalog/Catalog.API/*.csproj /src/src/Services/Catalog/Catalog.API/
|
|
||||||
COPY src/Services/Identity/Identity.API/*.csproj /src/src/Services/Identity/Identity.API/
|
|
||||||
COPY src/Services/Location/Locations.API/*.csproj /src/src/Services/Location/Locations.API/
|
|
||||||
COPY src/Services/Marketing/Marketing.API/*.csproj /src/src/Services/Marketing/Marketing.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.API/*.csproj /src/src/Services/Ordering/Ordering.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.BackgroundTasks/*.csproj /src/src/Services/Ordering/Ordering.BackgroundTasks/
|
|
||||||
COPY src/Services/Ordering/Ordering.Domain/*.csproj /src/src/Services/Ordering/Ordering.Domain/
|
|
||||||
COPY src/Services/Ordering/Ordering.Infrastructure/*.csproj /src/src/Services/Ordering/Ordering.Infrastructure/
|
|
||||||
COPY src/Services/Ordering/Ordering.SignalrHub/*.csproj /src/src/Services/Ordering/Ordering.SignalrHub/
|
|
||||||
COPY src/Services/Payment/Payment.API/*.csproj /src/src/Services/Payment/Payment.API/
|
|
||||||
COPY src/Services/Webhooks/Webhooks.API/*.csproj /src/src/Services/Webhooks/Webhooks.API/
|
|
||||||
COPY src/Web/WebhookClient/*.csproj /src/src/Web/WebhookClient/
|
|
||||||
COPY src/Web/WebMVC/*.csproj /src/src/Web/WebMVC/
|
|
||||||
COPY src/Web/WebSPA/*.csproj /src/src/Web/WebSPA/
|
|
||||||
COPY src/Web/WebStatus/*.csproj /src/src/Web/WebStatus/
|
|
||||||
|
|
||||||
RUN Dockerfile-scripts/restore-packages
|
RUN Dockerfile-scripts/restore-packages
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/src/Services/Ordering/Ordering.BackgroundTasks
|
WORKDIR /src/src/Services/Ordering/Ordering.BackgroundTasks
|
||||||
RUN dotnet build --no-restore -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
|
|
||||||
|
@ -7,36 +7,17 @@ WORKDIR /src
|
|||||||
|
|
||||||
COPY Dockerfile-scripts Dockerfile-scripts/
|
COPY Dockerfile-scripts Dockerfile-scripts/
|
||||||
|
|
||||||
COPY src/ApiGateways/ApiGw-Base/*.csproj /src/src/ApiGateways/ApiGw-Base/
|
COPY src/ApiGateways/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Mobile.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Mobile.Bff.Shopping/aggregator/
|
COPY src/ApiGateways/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Web.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Web.Bff.Shopping/aggregator/
|
COPY src/BuildingBlocks/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBus/
|
COPY src/Services/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusRabbitMQ/*.csproj /src/src/BuildingBlocks/EventBus/EventBusRabbitMQ/
|
COPY src/Web/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusServiceBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBusServiceBus/
|
|
||||||
COPY src/BuildingBlocks/EventBus/IntegrationEventLogEF/*.csproj /src/src/BuildingBlocks/EventBus/IntegrationEventLogEF/
|
|
||||||
COPY src/BuildingBlocks/WebHostCustomization/WebHost.Customization/*.csproj /src/src/BuildingBlocks/WebHostCustomization/WebHost.Customization/
|
|
||||||
COPY src/Services/Basket/Basket.API/*.csproj /src/src/Services/Basket/Basket.API/
|
|
||||||
COPY src/Services/Catalog/Catalog.API/*.csproj /src/src/Services/Catalog/Catalog.API/
|
|
||||||
COPY src/Services/Identity/Identity.API/*.csproj /src/src/Services/Identity/Identity.API/
|
|
||||||
COPY src/Services/Location/Locations.API/*.csproj /src/src/Services/Location/Locations.API/
|
|
||||||
COPY src/Services/Marketing/Marketing.API/*.csproj /src/src/Services/Marketing/Marketing.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.API/*.csproj /src/src/Services/Ordering/Ordering.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.BackgroundTasks/*.csproj /src/src/Services/Ordering/Ordering.BackgroundTasks/
|
|
||||||
COPY src/Services/Ordering/Ordering.Domain/*.csproj /src/src/Services/Ordering/Ordering.Domain/
|
|
||||||
COPY src/Services/Ordering/Ordering.Infrastructure/*.csproj /src/src/Services/Ordering/Ordering.Infrastructure/
|
|
||||||
COPY src/Services/Ordering/Ordering.SignalrHub/*.csproj /src/src/Services/Ordering/Ordering.SignalrHub/
|
|
||||||
COPY src/Services/Payment/Payment.API/*.csproj /src/src/Services/Payment/Payment.API/
|
|
||||||
COPY src/Services/Webhooks/Webhooks.API/*.csproj /src/src/Services/Webhooks/Webhooks.API/
|
|
||||||
COPY src/Web/WebhookClient/*.csproj /src/src/Web/WebhookClient/
|
|
||||||
COPY src/Web/WebMVC/*.csproj /src/src/Web/WebMVC/
|
|
||||||
COPY src/Web/WebSPA/*.csproj /src/src/Web/WebSPA/
|
|
||||||
COPY src/Web/WebStatus/*.csproj /src/src/Web/WebStatus/
|
|
||||||
|
|
||||||
RUN Dockerfile-scripts/restore-packages
|
RUN Dockerfile-scripts/restore-packages
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/src/Services/Ordering/Ordering.SignalrHub
|
WORKDIR /src/src/Services/Ordering/Ordering.SignalrHub
|
||||||
RUN dotnet build --no-restore -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
|
|
||||||
|
@ -7,36 +7,17 @@ WORKDIR /src
|
|||||||
|
|
||||||
COPY Dockerfile-scripts Dockerfile-scripts/
|
COPY Dockerfile-scripts Dockerfile-scripts/
|
||||||
|
|
||||||
COPY src/ApiGateways/ApiGw-Base/*.csproj /src/src/ApiGateways/ApiGw-Base/
|
COPY src/ApiGateways/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Mobile.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Mobile.Bff.Shopping/aggregator/
|
COPY src/ApiGateways/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Web.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Web.Bff.Shopping/aggregator/
|
COPY src/BuildingBlocks/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBus/
|
COPY src/Services/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusRabbitMQ/*.csproj /src/src/BuildingBlocks/EventBus/EventBusRabbitMQ/
|
COPY src/Web/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusServiceBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBusServiceBus/
|
|
||||||
COPY src/BuildingBlocks/EventBus/IntegrationEventLogEF/*.csproj /src/src/BuildingBlocks/EventBus/IntegrationEventLogEF/
|
|
||||||
COPY src/BuildingBlocks/WebHostCustomization/WebHost.Customization/*.csproj /src/src/BuildingBlocks/WebHostCustomization/WebHost.Customization/
|
|
||||||
COPY src/Services/Basket/Basket.API/*.csproj /src/src/Services/Basket/Basket.API/
|
|
||||||
COPY src/Services/Catalog/Catalog.API/*.csproj /src/src/Services/Catalog/Catalog.API/
|
|
||||||
COPY src/Services/Identity/Identity.API/*.csproj /src/src/Services/Identity/Identity.API/
|
|
||||||
COPY src/Services/Location/Locations.API/*.csproj /src/src/Services/Location/Locations.API/
|
|
||||||
COPY src/Services/Marketing/Marketing.API/*.csproj /src/src/Services/Marketing/Marketing.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.API/*.csproj /src/src/Services/Ordering/Ordering.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.BackgroundTasks/*.csproj /src/src/Services/Ordering/Ordering.BackgroundTasks/
|
|
||||||
COPY src/Services/Ordering/Ordering.Domain/*.csproj /src/src/Services/Ordering/Ordering.Domain/
|
|
||||||
COPY src/Services/Ordering/Ordering.Infrastructure/*.csproj /src/src/Services/Ordering/Ordering.Infrastructure/
|
|
||||||
COPY src/Services/Ordering/Ordering.SignalrHub/*.csproj /src/src/Services/Ordering/Ordering.SignalrHub/
|
|
||||||
COPY src/Services/Payment/Payment.API/*.csproj /src/src/Services/Payment/Payment.API/
|
|
||||||
COPY src/Services/Webhooks/Webhooks.API/*.csproj /src/src/Services/Webhooks/Webhooks.API/
|
|
||||||
COPY src/Web/WebhookClient/*.csproj /src/src/Web/WebhookClient/
|
|
||||||
COPY src/Web/WebMVC/*.csproj /src/src/Web/WebMVC/
|
|
||||||
COPY src/Web/WebSPA/*.csproj /src/src/Web/WebSPA/
|
|
||||||
COPY src/Web/WebStatus/*.csproj /src/src/Web/WebStatus/
|
|
||||||
|
|
||||||
RUN Dockerfile-scripts/restore-packages
|
RUN Dockerfile-scripts/restore-packages
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/src/Services/Payment/Payment.API
|
WORKDIR /src/src/Services/Payment/Payment.API
|
||||||
RUN dotnet build --no-restore -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
|
|
||||||
|
@ -7,36 +7,17 @@ WORKDIR /src
|
|||||||
|
|
||||||
COPY Dockerfile-scripts Dockerfile-scripts/
|
COPY Dockerfile-scripts Dockerfile-scripts/
|
||||||
|
|
||||||
COPY src/ApiGateways/ApiGw-Base/*.csproj /src/src/ApiGateways/ApiGw-Base/
|
COPY src/ApiGateways/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Mobile.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Mobile.Bff.Shopping/aggregator/
|
COPY src/ApiGateways/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Web.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Web.Bff.Shopping/aggregator/
|
COPY src/BuildingBlocks/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBus/
|
COPY src/Services/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusRabbitMQ/*.csproj /src/src/BuildingBlocks/EventBus/EventBusRabbitMQ/
|
COPY src/Web/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusServiceBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBusServiceBus/
|
|
||||||
COPY src/BuildingBlocks/EventBus/IntegrationEventLogEF/*.csproj /src/src/BuildingBlocks/EventBus/IntegrationEventLogEF/
|
|
||||||
COPY src/BuildingBlocks/WebHostCustomization/WebHost.Customization/*.csproj /src/src/BuildingBlocks/WebHostCustomization/WebHost.Customization/
|
|
||||||
COPY src/Services/Basket/Basket.API/*.csproj /src/src/Services/Basket/Basket.API/
|
|
||||||
COPY src/Services/Catalog/Catalog.API/*.csproj /src/src/Services/Catalog/Catalog.API/
|
|
||||||
COPY src/Services/Identity/Identity.API/*.csproj /src/src/Services/Identity/Identity.API/
|
|
||||||
COPY src/Services/Location/Locations.API/*.csproj /src/src/Services/Location/Locations.API/
|
|
||||||
COPY src/Services/Marketing/Marketing.API/*.csproj /src/src/Services/Marketing/Marketing.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.API/*.csproj /src/src/Services/Ordering/Ordering.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.BackgroundTasks/*.csproj /src/src/Services/Ordering/Ordering.BackgroundTasks/
|
|
||||||
COPY src/Services/Ordering/Ordering.Domain/*.csproj /src/src/Services/Ordering/Ordering.Domain/
|
|
||||||
COPY src/Services/Ordering/Ordering.Infrastructure/*.csproj /src/src/Services/Ordering/Ordering.Infrastructure/
|
|
||||||
COPY src/Services/Ordering/Ordering.SignalrHub/*.csproj /src/src/Services/Ordering/Ordering.SignalrHub/
|
|
||||||
COPY src/Services/Payment/Payment.API/*.csproj /src/src/Services/Payment/Payment.API/
|
|
||||||
COPY src/Services/Webhooks/Webhooks.API/*.csproj /src/src/Services/Webhooks/Webhooks.API/
|
|
||||||
COPY src/Web/WebhookClient/*.csproj /src/src/Web/WebhookClient/
|
|
||||||
COPY src/Web/WebMVC/*.csproj /src/src/Web/WebMVC/
|
|
||||||
COPY src/Web/WebSPA/*.csproj /src/src/Web/WebSPA/
|
|
||||||
COPY src/Web/WebStatus/*.csproj /src/src/Web/WebStatus/
|
|
||||||
|
|
||||||
RUN Dockerfile-scripts/restore-packages
|
RUN Dockerfile-scripts/restore-packages
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR "/src/src/Services/Webhooks/Webhooks.API"
|
WORKDIR "/src/src/Services/Webhooks/Webhooks.API"
|
||||||
RUN dotnet build --no-restore -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
|
|
||||||
|
@ -7,36 +7,17 @@ WORKDIR /src
|
|||||||
|
|
||||||
COPY Dockerfile-scripts Dockerfile-scripts/
|
COPY Dockerfile-scripts Dockerfile-scripts/
|
||||||
|
|
||||||
COPY src/ApiGateways/ApiGw-Base/*.csproj /src/src/ApiGateways/ApiGw-Base/
|
COPY src/ApiGateways/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Mobile.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Mobile.Bff.Shopping/aggregator/
|
COPY src/ApiGateways/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Web.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Web.Bff.Shopping/aggregator/
|
COPY src/BuildingBlocks/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBus/
|
COPY src/Services/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusRabbitMQ/*.csproj /src/src/BuildingBlocks/EventBus/EventBusRabbitMQ/
|
COPY src/Web/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusServiceBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBusServiceBus/
|
|
||||||
COPY src/BuildingBlocks/EventBus/IntegrationEventLogEF/*.csproj /src/src/BuildingBlocks/EventBus/IntegrationEventLogEF/
|
|
||||||
COPY src/BuildingBlocks/WebHostCustomization/WebHost.Customization/*.csproj /src/src/BuildingBlocks/WebHostCustomization/WebHost.Customization/
|
|
||||||
COPY src/Services/Basket/Basket.API/*.csproj /src/src/Services/Basket/Basket.API/
|
|
||||||
COPY src/Services/Catalog/Catalog.API/*.csproj /src/src/Services/Catalog/Catalog.API/
|
|
||||||
COPY src/Services/Identity/Identity.API/*.csproj /src/src/Services/Identity/Identity.API/
|
|
||||||
COPY src/Services/Location/Locations.API/*.csproj /src/src/Services/Location/Locations.API/
|
|
||||||
COPY src/Services/Marketing/Marketing.API/*.csproj /src/src/Services/Marketing/Marketing.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.API/*.csproj /src/src/Services/Ordering/Ordering.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.BackgroundTasks/*.csproj /src/src/Services/Ordering/Ordering.BackgroundTasks/
|
|
||||||
COPY src/Services/Ordering/Ordering.Domain/*.csproj /src/src/Services/Ordering/Ordering.Domain/
|
|
||||||
COPY src/Services/Ordering/Ordering.Infrastructure/*.csproj /src/src/Services/Ordering/Ordering.Infrastructure/
|
|
||||||
COPY src/Services/Ordering/Ordering.SignalrHub/*.csproj /src/src/Services/Ordering/Ordering.SignalrHub/
|
|
||||||
COPY src/Services/Payment/Payment.API/*.csproj /src/src/Services/Payment/Payment.API/
|
|
||||||
COPY src/Services/Webhooks/Webhooks.API/*.csproj /src/src/Services/Webhooks/Webhooks.API/
|
|
||||||
COPY src/Web/WebhookClient/*.csproj /src/src/Web/WebhookClient/
|
|
||||||
COPY src/Web/WebMVC/*.csproj /src/src/Web/WebMVC/
|
|
||||||
COPY src/Web/WebSPA/*.csproj /src/src/Web/WebSPA/
|
|
||||||
COPY src/Web/WebStatus/*.csproj /src/src/Web/WebStatus/
|
|
||||||
|
|
||||||
RUN Dockerfile-scripts/restore-packages
|
RUN Dockerfile-scripts/restore-packages
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/src/Web/WebMVC
|
WORKDIR /src/src/Web/WebMVC
|
||||||
RUN dotnet build --no-restore -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
|
|
||||||
|
@ -14,37 +14,18 @@ WORKDIR /src
|
|||||||
|
|
||||||
COPY Dockerfile-scripts Dockerfile-scripts/
|
COPY Dockerfile-scripts Dockerfile-scripts/
|
||||||
|
|
||||||
COPY src/ApiGateways/ApiGw-Base/*.csproj /src/src/ApiGateways/ApiGw-Base/
|
COPY src/ApiGateways/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Mobile.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Mobile.Bff.Shopping/aggregator/
|
COPY src/ApiGateways/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Web.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Web.Bff.Shopping/aggregator/
|
COPY src/BuildingBlocks/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBus/
|
COPY src/Services/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusRabbitMQ/*.csproj /src/src/BuildingBlocks/EventBus/EventBusRabbitMQ/
|
COPY src/Web/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusServiceBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBusServiceBus/
|
|
||||||
COPY src/BuildingBlocks/EventBus/IntegrationEventLogEF/*.csproj /src/src/BuildingBlocks/EventBus/IntegrationEventLogEF/
|
|
||||||
COPY src/BuildingBlocks/WebHostCustomization/WebHost.Customization/*.csproj /src/src/BuildingBlocks/WebHostCustomization/WebHost.Customization/
|
|
||||||
COPY src/Services/Basket/Basket.API/*.csproj /src/src/Services/Basket/Basket.API/
|
|
||||||
COPY src/Services/Catalog/Catalog.API/*.csproj /src/src/Services/Catalog/Catalog.API/
|
|
||||||
COPY src/Services/Identity/Identity.API/*.csproj /src/src/Services/Identity/Identity.API/
|
|
||||||
COPY src/Services/Location/Locations.API/*.csproj /src/src/Services/Location/Locations.API/
|
|
||||||
COPY src/Services/Marketing/Marketing.API/*.csproj /src/src/Services/Marketing/Marketing.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.API/*.csproj /src/src/Services/Ordering/Ordering.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.BackgroundTasks/*.csproj /src/src/Services/Ordering/Ordering.BackgroundTasks/
|
|
||||||
COPY src/Services/Ordering/Ordering.Domain/*.csproj /src/src/Services/Ordering/Ordering.Domain/
|
|
||||||
COPY src/Services/Ordering/Ordering.Infrastructure/*.csproj /src/src/Services/Ordering/Ordering.Infrastructure/
|
|
||||||
COPY src/Services/Ordering/Ordering.SignalrHub/*.csproj /src/src/Services/Ordering/Ordering.SignalrHub/
|
|
||||||
COPY src/Services/Payment/Payment.API/*.csproj /src/src/Services/Payment/Payment.API/
|
|
||||||
COPY src/Services/Webhooks/Webhooks.API/*.csproj /src/src/Services/Webhooks/Webhooks.API/
|
|
||||||
COPY src/Web/WebhookClient/*.csproj /src/src/Web/WebhookClient/
|
|
||||||
COPY src/Web/WebMVC/*.csproj /src/src/Web/WebMVC/
|
|
||||||
COPY src/Web/WebSPA/*.csproj /src/src/Web/WebSPA/
|
|
||||||
COPY src/Web/WebStatus/*.csproj /src/src/Web/WebStatus/
|
|
||||||
|
|
||||||
RUN Dockerfile-scripts/restore-packages
|
RUN Dockerfile-scripts/restore-packages
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
COPY --from=node-build /web/wwwroot /src/src/Web/WebSPA/wwwroot/
|
COPY --from=node-build /web/wwwroot /src/src/Web/WebSPA/wwwroot/
|
||||||
WORKDIR /src/src/Web/WebSPA
|
WORKDIR /src/src/Web/WebSPA
|
||||||
RUN dotnet build --no-restore -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
|
|
||||||
|
@ -7,36 +7,17 @@ WORKDIR /src
|
|||||||
|
|
||||||
COPY Dockerfile-scripts Dockerfile-scripts/
|
COPY Dockerfile-scripts Dockerfile-scripts/
|
||||||
|
|
||||||
COPY src/ApiGateways/ApiGw-Base/*.csproj /src/src/ApiGateways/ApiGw-Base/
|
COPY src/ApiGateways/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Mobile.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Mobile.Bff.Shopping/aggregator/
|
COPY src/ApiGateways/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Web.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Web.Bff.Shopping/aggregator/
|
COPY src/BuildingBlocks/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBus/
|
COPY src/Services/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusRabbitMQ/*.csproj /src/src/BuildingBlocks/EventBus/EventBusRabbitMQ/
|
COPY src/Web/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusServiceBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBusServiceBus/
|
|
||||||
COPY src/BuildingBlocks/EventBus/IntegrationEventLogEF/*.csproj /src/src/BuildingBlocks/EventBus/IntegrationEventLogEF/
|
|
||||||
COPY src/BuildingBlocks/WebHostCustomization/WebHost.Customization/*.csproj /src/src/BuildingBlocks/WebHostCustomization/WebHost.Customization/
|
|
||||||
COPY src/Services/Basket/Basket.API/*.csproj /src/src/Services/Basket/Basket.API/
|
|
||||||
COPY src/Services/Catalog/Catalog.API/*.csproj /src/src/Services/Catalog/Catalog.API/
|
|
||||||
COPY src/Services/Identity/Identity.API/*.csproj /src/src/Services/Identity/Identity.API/
|
|
||||||
COPY src/Services/Location/Locations.API/*.csproj /src/src/Services/Location/Locations.API/
|
|
||||||
COPY src/Services/Marketing/Marketing.API/*.csproj /src/src/Services/Marketing/Marketing.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.API/*.csproj /src/src/Services/Ordering/Ordering.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.BackgroundTasks/*.csproj /src/src/Services/Ordering/Ordering.BackgroundTasks/
|
|
||||||
COPY src/Services/Ordering/Ordering.Domain/*.csproj /src/src/Services/Ordering/Ordering.Domain/
|
|
||||||
COPY src/Services/Ordering/Ordering.Infrastructure/*.csproj /src/src/Services/Ordering/Ordering.Infrastructure/
|
|
||||||
COPY src/Services/Ordering/Ordering.SignalrHub/*.csproj /src/src/Services/Ordering/Ordering.SignalrHub/
|
|
||||||
COPY src/Services/Payment/Payment.API/*.csproj /src/src/Services/Payment/Payment.API/
|
|
||||||
COPY src/Services/Webhooks/Webhooks.API/*.csproj /src/src/Services/Webhooks/Webhooks.API/
|
|
||||||
COPY src/Web/WebhookClient/*.csproj /src/src/Web/WebhookClient/
|
|
||||||
COPY src/Web/WebMVC/*.csproj /src/src/Web/WebMVC/
|
|
||||||
COPY src/Web/WebSPA/*.csproj /src/src/Web/WebSPA/
|
|
||||||
COPY src/Web/WebStatus/*.csproj /src/src/Web/WebStatus/
|
|
||||||
|
|
||||||
RUN Dockerfile-scripts/restore-packages
|
RUN Dockerfile-scripts/restore-packages
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/src/Web/WebStatus
|
WORKDIR /src/src/Web/WebStatus
|
||||||
RUN dotnet build --no-restore -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
|
|
||||||
|
@ -8,36 +8,17 @@ WORKDIR /src
|
|||||||
|
|
||||||
COPY Dockerfile-scripts Dockerfile-scripts/
|
COPY Dockerfile-scripts Dockerfile-scripts/
|
||||||
|
|
||||||
COPY src/ApiGateways/ApiGw-Base/*.csproj /src/src/ApiGateways/ApiGw-Base/
|
COPY src/ApiGateways/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Mobile.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Mobile.Bff.Shopping/aggregator/
|
COPY src/ApiGateways/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/ApiGateways/Web.Bff.Shopping/aggregator/*.csproj /src/src/ApiGateways/Web.Bff.Shopping/aggregator/
|
COPY src/BuildingBlocks/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBus/
|
COPY src/Services/*/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusRabbitMQ/*.csproj /src/src/BuildingBlocks/EventBus/EventBusRabbitMQ/
|
COPY src/Web/*/*.csproj /src/csproj-files/
|
||||||
COPY src/BuildingBlocks/EventBus/EventBusServiceBus/*.csproj /src/src/BuildingBlocks/EventBus/EventBusServiceBus/
|
|
||||||
COPY src/BuildingBlocks/EventBus/IntegrationEventLogEF/*.csproj /src/src/BuildingBlocks/EventBus/IntegrationEventLogEF/
|
|
||||||
COPY src/BuildingBlocks/WebHostCustomization/WebHost.Customization/*.csproj /src/src/BuildingBlocks/WebHostCustomization/WebHost.Customization/
|
|
||||||
COPY src/Services/Basket/Basket.API/*.csproj /src/src/Services/Basket/Basket.API/
|
|
||||||
COPY src/Services/Catalog/Catalog.API/*.csproj /src/src/Services/Catalog/Catalog.API/
|
|
||||||
COPY src/Services/Identity/Identity.API/*.csproj /src/src/Services/Identity/Identity.API/
|
|
||||||
COPY src/Services/Location/Locations.API/*.csproj /src/src/Services/Location/Locations.API/
|
|
||||||
COPY src/Services/Marketing/Marketing.API/*.csproj /src/src/Services/Marketing/Marketing.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.API/*.csproj /src/src/Services/Ordering/Ordering.API/
|
|
||||||
COPY src/Services/Ordering/Ordering.BackgroundTasks/*.csproj /src/src/Services/Ordering/Ordering.BackgroundTasks/
|
|
||||||
COPY src/Services/Ordering/Ordering.Domain/*.csproj /src/src/Services/Ordering/Ordering.Domain/
|
|
||||||
COPY src/Services/Ordering/Ordering.Infrastructure/*.csproj /src/src/Services/Ordering/Ordering.Infrastructure/
|
|
||||||
COPY src/Services/Ordering/Ordering.SignalrHub/*.csproj /src/src/Services/Ordering/Ordering.SignalrHub/
|
|
||||||
COPY src/Services/Payment/Payment.API/*.csproj /src/src/Services/Payment/Payment.API/
|
|
||||||
COPY src/Services/Webhooks/Webhooks.API/*.csproj /src/src/Services/Webhooks/Webhooks.API/
|
|
||||||
COPY src/Web/WebhookClient/*.csproj /src/src/Web/WebhookClient/
|
|
||||||
COPY src/Web/WebMVC/*.csproj /src/src/Web/WebMVC/
|
|
||||||
COPY src/Web/WebSPA/*.csproj /src/src/Web/WebSPA/
|
|
||||||
COPY src/Web/WebStatus/*.csproj /src/src/Web/WebStatus/
|
|
||||||
|
|
||||||
RUN Dockerfile-scripts/restore-packages
|
RUN Dockerfile-scripts/restore-packages
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/src/Web/WebhookClient
|
WORKDIR /src/src/Web/WebhookClient
|
||||||
RUN dotnet build --no-restore -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user