|
@ -6,14 +6,14 @@ FROM mcr.microsoft.com/dotnet/core/sdk:2.2 AS build |
|
|
WORKDIR /src |
|
|
WORKDIR /src |
|
|
COPY scripts scripts/ |
|
|
COPY scripts scripts/ |
|
|
|
|
|
|
|
|
COPY src/ApiGateways/*/*.csproj /src/csproj-files/ |
|
|
|
|
|
COPY src/ApiGateways/*/*/*.csproj /src/csproj-files/ |
|
|
|
|
|
COPY src/BuildingBlocks/*/*/*.csproj /src/csproj-files/ |
|
|
|
|
|
COPY src/Services/*/*/*.csproj /src/csproj-files/ |
|
|
|
|
|
COPY src/Web/*/*.csproj /src/csproj-files/ |
|
|
|
|
|
|
|
|
COPY ApiGateways/*/*.csproj csproj-files/ |
|
|
|
|
|
COPY ApiGateways/*/*/*.csproj csproj-files/ |
|
|
|
|
|
COPY BuildingBlocks/*/*/*.csproj csproj-files/ |
|
|
|
|
|
COPY Services/*/*/*.csproj csproj-files/ |
|
|
|
|
|
COPY Web/*/*.csproj csproj-files/ |
|
|
|
|
|
|
|
|
COPY . . |
|
|
COPY . . |
|
|
WORKDIR /src/src/ApiGateways/ApiGw-Base/ |
|
|
|
|
|
|
|
|
WORKDIR /src/ApiGateways/ApiGw-Base/ |
|
|
RUN dotnet publish -c Release -o /app |
|
|
RUN dotnet publish -c Release -o /app |
|
|
|
|
|
|
|
|
FROM build AS publish |
|
|
FROM build AS publish |
|
|