Browse Source

Remove unnecessary commands from dockerfiles

dotnet3-migration/dev-dotnet3
Miguel Veloso 5 years ago
parent
commit
5013ff40ba
15 changed files with 0 additions and 105 deletions
  1. +0
    -7
      src/ApiGateways/Mobile.Bff.Shopping/aggregator/Dockerfile
  2. +0
    -7
      src/ApiGateways/Web.Bff.Shopping/aggregator/Dockerfile
  3. +0
    -7
      src/Services/Basket/Basket.API/Dockerfile
  4. +0
    -7
      src/Services/Catalog/Catalog.API/Dockerfile
  5. +0
    -7
      src/Services/Identity/Identity.API/Dockerfile
  6. +0
    -7
      src/Services/Location/Locations.API/Dockerfile
  7. +0
    -7
      src/Services/Marketing/Marketing.API/Dockerfile
  8. +0
    -7
      src/Services/Ordering/Ordering.API/Dockerfile
  9. +0
    -7
      src/Services/Ordering/Ordering.BackgroundTasks/Dockerfile
  10. +0
    -7
      src/Services/Ordering/Ordering.SignalrHub/Dockerfile
  11. +0
    -7
      src/Services/Payment/Payment.API/Dockerfile
  12. +0
    -7
      src/Services/Webhooks/Webhooks.API/Dockerfile
  13. +0
    -7
      src/Web/WebMVC/Dockerfile
  14. +0
    -7
      src/Web/WebSPA/Dockerfile
  15. +0
    -7
      src/Web/WebhookClient/Dockerfile

+ 0
- 7
src/ApiGateways/Mobile.Bff.Shopping/aggregator/Dockerfile View File

@ -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


+ 0
- 7
src/ApiGateways/Web.Bff.Shopping/aggregator/Dockerfile View File

@ -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


+ 0
- 7
src/Services/Basket/Basket.API/Dockerfile View File

@ -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


+ 0
- 7
src/Services/Catalog/Catalog.API/Dockerfile View File

@ -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


+ 0
- 7
src/Services/Identity/Identity.API/Dockerfile View File

@ -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


+ 0
- 7
src/Services/Location/Locations.API/Dockerfile View File

@ -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


+ 0
- 7
src/Services/Marketing/Marketing.API/Dockerfile View File

@ -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


+ 0
- 7
src/Services/Ordering/Ordering.API/Dockerfile View File

@ -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


+ 0
- 7
src/Services/Ordering/Ordering.BackgroundTasks/Dockerfile View File

@ -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


+ 0
- 7
src/Services/Ordering/Ordering.SignalrHub/Dockerfile View File

@ -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


+ 0
- 7
src/Services/Payment/Payment.API/Dockerfile View File

@ -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


+ 0
- 7
src/Services/Webhooks/Webhooks.API/Dockerfile View File

@ -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


+ 0
- 7
src/Web/WebMVC/Dockerfile View File

@ -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


+ 0
- 7
src/Web/WebSPA/Dockerfile View File

@ -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


+ 0
- 7
src/Web/WebhookClient/Dockerfile View File

@ -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…
Cancel
Save