Remove unnecessary commands from dockerfiles
This commit is contained in:
parent
e8d99c06c9
commit
5013ff40ba
@ -5,13 +5,6 @@ EXPOSE 80
|
|||||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
COPY scripts scripts/
|
|
||||||
|
|
||||||
COPY ApiGateways/*/*/*.csproj csproj-files/
|
|
||||||
COPY BuildingBlocks/*/*/*.csproj csproj-files/
|
|
||||||
COPY Services/*/*/*.csproj csproj-files/
|
|
||||||
COPY Web/*/*.csproj csproj-files/
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/ApiGateways/Mobile.Bff.Shopping/aggregator
|
WORKDIR /src/ApiGateways/Mobile.Bff.Shopping/aggregator
|
||||||
RUN dotnet publish -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
@ -5,13 +5,6 @@ EXPOSE 80
|
|||||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
COPY scripts scripts/
|
|
||||||
|
|
||||||
COPY ApiGateways/*/*/*.csproj csproj-files/
|
|
||||||
COPY BuildingBlocks/*/*/*.csproj csproj-files/
|
|
||||||
COPY Services/*/*/*.csproj csproj-files/
|
|
||||||
COPY Web/*/*.csproj csproj-files/
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/ApiGateways/Web.Bff.Shopping/aggregator
|
WORKDIR /src/ApiGateways/Web.Bff.Shopping/aggregator
|
||||||
RUN dotnet publish -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
@ -5,13 +5,6 @@ EXPOSE 80
|
|||||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
COPY scripts scripts/
|
|
||||||
|
|
||||||
COPY ApiGateways/*/*/*.csproj csproj-files/
|
|
||||||
COPY BuildingBlocks/*/*/*.csproj csproj-files/
|
|
||||||
COPY Services/*/*/*.csproj csproj-files/
|
|
||||||
COPY Web/*/*.csproj csproj-files/
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/Services/Basket/Basket.API
|
WORKDIR /src/Services/Basket/Basket.API
|
||||||
RUN dotnet publish -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
@ -6,13 +6,6 @@ EXPOSE 443
|
|||||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
COPY scripts scripts/
|
|
||||||
|
|
||||||
COPY ApiGateways/*/*/*.csproj csproj-files/
|
|
||||||
COPY BuildingBlocks/*/*/*.csproj csproj-files/
|
|
||||||
COPY Services/*/*/*.csproj csproj-files/
|
|
||||||
COPY Web/*/*.csproj csproj-files/
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/Services/Catalog/Catalog.API
|
WORKDIR /src/Services/Catalog/Catalog.API
|
||||||
RUN dotnet publish -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
@ -5,13 +5,6 @@ EXPOSE 80
|
|||||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
COPY scripts scripts/
|
|
||||||
|
|
||||||
COPY ApiGateways/*/*/*.csproj csproj-files/
|
|
||||||
COPY BuildingBlocks/*/*/*.csproj csproj-files/
|
|
||||||
COPY Services/*/*/*.csproj csproj-files/
|
|
||||||
COPY Web/*/*.csproj csproj-files/
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/Services/Identity/Identity.API
|
WORKDIR /src/Services/Identity/Identity.API
|
||||||
RUN dotnet publish -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
@ -5,13 +5,6 @@ EXPOSE 80
|
|||||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
COPY scripts scripts/
|
|
||||||
|
|
||||||
COPY ApiGateways/*/*/*.csproj csproj-files/
|
|
||||||
COPY BuildingBlocks/*/*/*.csproj csproj-files/
|
|
||||||
COPY Services/*/*/*.csproj csproj-files/
|
|
||||||
COPY Web/*/*.csproj csproj-files/
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/Services/Location/Locations.API
|
WORKDIR /src/Services/Location/Locations.API
|
||||||
RUN dotnet publish -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
@ -5,13 +5,6 @@ EXPOSE 80
|
|||||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
COPY scripts scripts/
|
|
||||||
|
|
||||||
COPY ApiGateways/*/*/*.csproj csproj-files/
|
|
||||||
COPY BuildingBlocks/*/*/*.csproj csproj-files/
|
|
||||||
COPY Services/*/*/*.csproj csproj-files/
|
|
||||||
COPY Web/*/*.csproj csproj-files/
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/Services/Marketing/Marketing.API
|
WORKDIR /src/Services/Marketing/Marketing.API
|
||||||
RUN dotnet publish -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
@ -5,13 +5,6 @@ EXPOSE 80
|
|||||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
COPY scripts scripts/
|
|
||||||
|
|
||||||
COPY ApiGateways/*/*/*.csproj csproj-files/
|
|
||||||
COPY BuildingBlocks/*/*/*.csproj csproj-files/
|
|
||||||
COPY Services/*/*/*.csproj csproj-files/
|
|
||||||
COPY Web/*/*.csproj csproj-files/
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/Services/Ordering/Ordering.API
|
WORKDIR /src/Services/Ordering/Ordering.API
|
||||||
RUN dotnet publish -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
@ -5,13 +5,6 @@ EXPOSE 80
|
|||||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
COPY scripts scripts/
|
|
||||||
|
|
||||||
COPY ApiGateways/*/*/*.csproj csproj-files/
|
|
||||||
COPY BuildingBlocks/*/*/*.csproj csproj-files/
|
|
||||||
COPY Services/*/*/*.csproj csproj-files/
|
|
||||||
COPY Web/*/*.csproj csproj-files/
|
|
||||||
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/Services/Ordering/Ordering.BackgroundTasks
|
WORKDIR /src/Services/Ordering/Ordering.BackgroundTasks
|
||||||
|
@ -5,13 +5,6 @@ EXPOSE 80
|
|||||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
COPY scripts scripts/
|
|
||||||
|
|
||||||
COPY ApiGateways/*/*/*.csproj csproj-files/
|
|
||||||
COPY BuildingBlocks/*/*/*.csproj csproj-files/
|
|
||||||
COPY Services/*/*/*.csproj csproj-files/
|
|
||||||
COPY Web/*/*.csproj csproj-files/
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/Services/Ordering/Ordering.SignalrHub
|
WORKDIR /src/Services/Ordering/Ordering.SignalrHub
|
||||||
RUN dotnet publish -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
@ -5,13 +5,6 @@ EXPOSE 80
|
|||||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
COPY scripts scripts/
|
|
||||||
|
|
||||||
COPY ApiGateways/*/*/*.csproj csproj-files/
|
|
||||||
COPY BuildingBlocks/*/*/*.csproj csproj-files/
|
|
||||||
COPY Services/*/*/*.csproj csproj-files/
|
|
||||||
COPY Web/*/*.csproj csproj-files/
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/Services/Payment/Payment.API
|
WORKDIR /src/Services/Payment/Payment.API
|
||||||
RUN dotnet publish -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
@ -5,13 +5,6 @@ EXPOSE 80
|
|||||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
COPY scripts scripts/
|
|
||||||
|
|
||||||
COPY ApiGateways/*/*/*.csproj csproj-files/
|
|
||||||
COPY BuildingBlocks/*/*/*.csproj csproj-files/
|
|
||||||
COPY Services/*/*/*.csproj csproj-files/
|
|
||||||
COPY Web/*/*.csproj csproj-files/
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/Services/Webhooks/Webhooks.API
|
WORKDIR /src/Services/Webhooks/Webhooks.API
|
||||||
RUN dotnet publish -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
@ -5,13 +5,6 @@ EXPOSE 80
|
|||||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
COPY scripts scripts/
|
|
||||||
|
|
||||||
COPY ApiGateways/*/*/*.csproj csproj-files/
|
|
||||||
COPY BuildingBlocks/*/*/*.csproj csproj-files/
|
|
||||||
COPY Services/*/*/*.csproj csproj-files/
|
|
||||||
COPY Web/*/*.csproj csproj-files/
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/Web/WebMVC
|
WORKDIR /src/Web/WebMVC
|
||||||
RUN dotnet publish -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
@ -14,13 +14,6 @@ RUN npm run build:prod
|
|||||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
COPY scripts scripts/
|
|
||||||
|
|
||||||
COPY ApiGateways/*/*/*.csproj csproj-files/
|
|
||||||
COPY BuildingBlocks/*/*/*.csproj csproj-files/
|
|
||||||
COPY Services/*/*/*.csproj csproj-files/
|
|
||||||
COPY Web/*/*.csproj csproj-files/
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
COPY --from=node-build /web/wwwroot /src/Web/WebSPA/wwwroot/
|
COPY --from=node-build /web/wwwroot /src/Web/WebSPA/wwwroot/
|
||||||
WORKDIR /src/Web/WebSPA
|
WORKDIR /src/Web/WebSPA
|
||||||
|
@ -6,13 +6,6 @@ EXPOSE 443
|
|||||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
COPY scripts scripts/
|
|
||||||
|
|
||||||
COPY ApiGateways/*/*/*.csproj csproj-files/
|
|
||||||
COPY BuildingBlocks/*/*/*.csproj csproj-files/
|
|
||||||
COPY Services/*/*/*.csproj csproj-files/
|
|
||||||
COPY Web/*/*.csproj csproj-files/
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /src/Web/WebhookClient
|
WORKDIR /src/Web/WebhookClient
|
||||||
RUN dotnet publish -c Release -o /app
|
RUN dotnet publish -c Release -o /app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user