From e3154c23bcb58464a8b7a6a0591ee6538fb2990b Mon Sep 17 00:00:00 2001 From: Meysam Hadeli Date: Thu, 3 Jul 2025 23:59:11 +0330 Subject: [PATCH] fix: fix building-blocks path in dockerfiles --- src/ApiGateway/Dockerfile | 4 ++-- src/ApiGateway/dev.Dockerfile | 4 ++-- src/Services/Booking/Dockerfile | 4 ++-- src/Services/Booking/dev.Dockerfile | 4 ++-- src/Services/Flight/Dockerfile | 4 ++-- src/Services/Flight/dev.Dockerfile | 4 ++-- src/Services/Identity/Dockerfile | 4 ++-- src/Services/Identity/dev.Dockerfile | 4 ++-- src/Services/Passenger/Dockerfile | 4 ++-- src/Services/Passenger/dev.Dockerfile | 4 ++-- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/ApiGateway/Dockerfile b/src/ApiGateway/Dockerfile index 27a73e2..f3c5de3 100644 --- a/src/ApiGateway/Dockerfile +++ b/src/ApiGateway/Dockerfile @@ -6,7 +6,7 @@ COPY ./global.json ./ COPY ./Directory.Build.props ./ # Setup working directory for the project -COPY ./building-blocks/BuildingBlocks.csproj ./building-blocks/ +COPY ./src/BuildingBlocks/BuildingBlocks.csproj ./building-blocks/ COPY ./src/ApiGateway/src/ApiGateway.csproj ./src/ApiGateway/src/ @@ -14,7 +14,7 @@ COPY ./src/ApiGateway/src/ApiGateway.csproj ./src/ApiGateway/src/ RUN dotnet restore ./src/ApiGateway/src/ApiGateway.csproj # Copy project files -COPY ./building-blocks ./building-blocks/ +COPY ./src/BuildingBlocks ./src/BuildingBlocks/ COPY ./src/ApiGateway/src ./src/ApiGateway/src/ # Build project with Release configuration diff --git a/src/ApiGateway/dev.Dockerfile b/src/ApiGateway/dev.Dockerfile index 9425bd6..5703b1e 100644 --- a/src/ApiGateway/dev.Dockerfile +++ b/src/ApiGateway/dev.Dockerfile @@ -6,7 +6,7 @@ COPY ./global.json ./ COPY ./Directory.Build.props ./ # Setup working directory for the project -COPY ./building-blocks/BuildingBlocks.csproj ./building-blocks/ +COPY ./src/BuildingBlocks/BuildingBlocks.csproj ./building-blocks/ COPY ./src/ApiGateway/src/ApiGateway.csproj ./src/ApiGateway/src/ @@ -15,7 +15,7 @@ RUN --mount=type=cache,id=gateway_nuget,target=/root/.nuget/packages \ dotnet restore ./src/ApiGateway/src/ApiGateway.csproj # Copy project files -COPY ./building-blocks ./building-blocks/ +COPY ./src/BuildingBlocks ./src/BuildingBlocks/ COPY ./src/ApiGateway/src ./src/ApiGateway/src/ # Build project with Release configuration diff --git a/src/Services/Booking/Dockerfile b/src/Services/Booking/Dockerfile index 4bafe29..1410f68 100644 --- a/src/Services/Booking/Dockerfile +++ b/src/Services/Booking/Dockerfile @@ -6,7 +6,7 @@ COPY ./global.json ./ COPY ./Directory.Build.props ./ # Setup working directory for the project -COPY ./building-blocks/BuildingBlocks.csproj ./building-blocks/ +COPY ./src/BuildingBlocks/BuildingBlocks.csproj ./src/BuildingBlocks/ COPY ./src/Services/Booking/src/Booking/Booking.csproj ./src/Services/Booking/src/Booking/ COPY ./src/Services/Booking/src/Booking.Api/Booking.Api.csproj ./src/Services/Booking/src/Booking.Api/ @@ -15,7 +15,7 @@ COPY ./src/Services/Booking/src/Booking.Api/Booking.Api.csproj ./src/Services/Bo RUN dotnet restore ./src/Services/Booking/src/Booking.Api/Booking.Api.csproj # Copy project files -COPY ./building-blocks ./building-blocks/ +COPY ./src/BuildingBlocks ./src/BuildingBlocks/ COPY ./src/Services/Booking/src/Booking/ ./src/Services/Booking/src/Booking/ COPY ./src/Services/Booking/src/Booking.Api/ ./src/Services/Booking/src/Booking.Api/ diff --git a/src/Services/Booking/dev.Dockerfile b/src/Services/Booking/dev.Dockerfile index 6165b7d..52082b2 100644 --- a/src/Services/Booking/dev.Dockerfile +++ b/src/Services/Booking/dev.Dockerfile @@ -6,7 +6,7 @@ COPY ./global.json ./ COPY ./Directory.Build.props ./ # Setup working directory for the project -COPY ./building-blocks/BuildingBlocks.csproj ./building-blocks/ +COPY ./src/BuildingBlocks/BuildingBlocks.csproj ./src/BuildingBlocks/ COPY ./src/Services/Booking/src/Booking/Booking.csproj ./src/Services/Booking/src/Booking/ COPY ./src/Services/Booking/src/Booking.Api/Booking.Api.csproj ./src/Services/Booking/src/Booking.Api/ @@ -16,7 +16,7 @@ RUN --mount=type=cache,id=booking_nuget,target=/root/.nuget/packages \ dotnet restore ./src/Services/Booking/src/Booking.Api/Booking.Api.csproj # Copy project files -COPY ./building-blocks ./building-blocks/ +COPY ./src/BuildingBlocks ./src/BuildingBlocks/ COPY ./src/Services/Booking/src/Booking/ ./src/Services/Booking/src/Booking/ COPY ./src/Services/Booking/src/Booking.Api/ ./src/Services/Booking/src/Booking.Api/ diff --git a/src/Services/Flight/Dockerfile b/src/Services/Flight/Dockerfile index dcd807e..daa4868 100644 --- a/src/Services/Flight/Dockerfile +++ b/src/Services/Flight/Dockerfile @@ -6,7 +6,7 @@ COPY ./global.json ./ COPY ./Directory.Build.props ./ # Setup working directory for the project -COPY ./building-blocks/BuildingBlocks.csproj ./building-blocks/ +COPY ./src/BuildingBlocks/BuildingBlocks.csproj ./src/BuildingBlocks/ COPY ./src/Services/Flight/src/Flight/Flight.csproj ./src/Services/Flight/src/Flight/ COPY ./src/Services/Flight/src/Flight.Api/Flight.Api.csproj ./src/Services/Flight/src/Flight.Api/ @@ -15,7 +15,7 @@ COPY ./src/Services/Flight/src/Flight.Api/Flight.Api.csproj ./src/Services/Fligh RUN dotnet restore ./src/Services/Flight/src/Flight.Api/Flight.Api.csproj # Copy project files -COPY ./building-blocks ./building-blocks/ +COPY ./src/BuildingBlocks ./src/BuildingBlocks/ COPY ./src/Services/Flight/src/Flight/ ./src/Services/Flight/src/Flight/ COPY ./src/Services/Flight/src/Flight.Api/ ./src/Services/Flight/src/Flight.Api/ diff --git a/src/Services/Flight/dev.Dockerfile b/src/Services/Flight/dev.Dockerfile index 2a66679..ed162a3 100644 --- a/src/Services/Flight/dev.Dockerfile +++ b/src/Services/Flight/dev.Dockerfile @@ -6,7 +6,7 @@ COPY ./global.json ./ COPY ./Directory.Build.props ./ # Setup working directory for the project -COPY ./building-blocks/BuildingBlocks.csproj ./building-blocks/ +COPY ./src/BuildingBlocks/BuildingBlocks.csproj ./src/BuildingBlocks/ COPY ./src/Services/Flight/src/Flight/Flight.csproj ./src/Services/Flight/src/Flight/ COPY ./src/Services/Flight/src/Flight.Api/Flight.Api.csproj ./src/Services/Flight/src/Flight.Api/ @@ -16,7 +16,7 @@ RUN --mount=type=cache,id=flight_nuget,target=/root/.nuget/packages \ dotnet restore ./src/Services/Flight/src/Flight.Api/Flight.Api.csproj # Copy project files -COPY ./building-blocks ./building-blocks/ +COPY ./src/BuildingBlocks ./src/BuildingBlocks/ COPY ./src/Services/Flight/src/Flight/ ./src/Services/Flight/src/Flight/ COPY ./src/Services/Flight/src/Flight.Api/ ./src/Services/Flight/src/Flight.Api/ diff --git a/src/Services/Identity/Dockerfile b/src/Services/Identity/Dockerfile index 24ce752..e9776f3 100644 --- a/src/Services/Identity/Dockerfile +++ b/src/Services/Identity/Dockerfile @@ -7,7 +7,7 @@ COPY ./.editorconfig ./ COPY ./global.json ./ COPY ./Directory.Build.props ./ -COPY ./building-blocks/BuildingBlocks.csproj ./building-blocks/ +COPY ./src/BuildingBlocks/BuildingBlocks.csproj ./src/BuildingBlocks/ COPY ./src/Services/Identity/src/Identity/Identity.csproj ./src/Services/Identity/src/Identity/ COPY ./src/Services/Identity/src/Identity.Api/Identity.Api.csproj ./src/Services/Identity/src/Identity.Api/ @@ -15,7 +15,7 @@ COPY ./src/Services/Identity/src/Identity.Api/Identity.Api.csproj ./src/Services RUN dotnet restore ./src/Services/Identity/src/Identity.Api/Identity.Api.csproj # Copy project files -COPY ./building-blocks ./building-blocks/ +COPY ./src/BuildingBlocks ./src/BuildingBlocks/ COPY ./src/Services/Identity/src/Identity/ ./src/Services/Identity/src/Identity/ COPY ./src/Services/Identity/src/Identity.Api/ ./src/Services/Identity/src/Identity.Api/ diff --git a/src/Services/Identity/dev.Dockerfile b/src/Services/Identity/dev.Dockerfile index ff89f98..29429c8 100644 --- a/src/Services/Identity/dev.Dockerfile +++ b/src/Services/Identity/dev.Dockerfile @@ -7,7 +7,7 @@ COPY ./.editorconfig ./ COPY ./global.json ./ COPY ./Directory.Build.props ./ -COPY ./building-blocks/BuildingBlocks.csproj ./building-blocks/ +COPY ./src/BuildingBlocks/BuildingBlocks.csproj ./src/BuildingBlocks/ COPY ./src/Services/Identity/src/Identity/Identity.csproj ./src/Services/Identity/src/Identity/ COPY ./src/Services/Identity/src/Identity.Api/Identity.Api.csproj ./src/Services/Identity/src/Identity.Api/ @@ -16,7 +16,7 @@ RUN --mount=type=cache,id=identity_nuget,target=/root/.nuget/packages \ dotnet restore ./src/Services/Identity/src/Identity.Api/Identity.Api.csproj # Copy project files -COPY ./building-blocks ./building-blocks/ +COPY ./src/BuildingBlocks ./src/BuildingBlocks/ COPY ./src/Services/Identity/src/Identity/ ./src/Services/Identity/src/Identity/ COPY ./src/Services/Identity/src/Identity.Api/ ./src/Services/Identity/src/Identity.Api/ diff --git a/src/Services/Passenger/Dockerfile b/src/Services/Passenger/Dockerfile index b0af094..aea939a 100644 --- a/src/Services/Passenger/Dockerfile +++ b/src/Services/Passenger/Dockerfile @@ -6,7 +6,7 @@ COPY ./global.json ./ COPY ./Directory.Build.props ./ # Setup working directory for the project -COPY ./building-blocks/BuildingBlocks.csproj ./building-blocks/ +COPY ./src/BuildingBlocks/BuildingBlocks.csproj ./src/BuildingBlocks/ COPY ./src/Services/Passenger/src/Passenger/Passenger.csproj ./src/Services/Passenger/src/Passenger/ COPY ./src/Services/Passenger/src/Passenger.Api/Passenger.Api.csproj ./src/Services/Passenger/src/Passenger.Api/ @@ -15,7 +15,7 @@ COPY ./src/Services/Passenger/src/Passenger.Api/Passenger.Api.csproj ./src/Servi RUN dotnet restore ./src/Services/Passenger/src/Passenger.Api/Passenger.Api.csproj # Copy project files -COPY ./building-blocks ./building-blocks/ +COPY ./src/BuildingBlocks ./src/BuildingBlocks/ COPY ./src/Services/Passenger/src/Passenger/ ./src/Services/Passenger/src/Passenger/ COPY ./src/Services/Passenger/src/Passenger.Api/ ./src/Services/Passenger/src/Passenger.Api/ diff --git a/src/Services/Passenger/dev.Dockerfile b/src/Services/Passenger/dev.Dockerfile index 0836f9d..4741cd0 100644 --- a/src/Services/Passenger/dev.Dockerfile +++ b/src/Services/Passenger/dev.Dockerfile @@ -6,7 +6,7 @@ COPY ./global.json ./ COPY ./Directory.Build.props ./ # Setup working directory for the project -COPY ./building-blocks/BuildingBlocks.csproj ./building-blocks/ +COPY ./src/BuildingBlocks/BuildingBlocks.csproj ./src/BuildingBlocks/ COPY ./src/Services/Passenger/src/Passenger/Passenger.csproj ./src/Services/Passenger/src/Passenger/ COPY ./src/Services/Passenger/src/Passenger.Api/Passenger.Api.csproj ./src/Services/Passenger/src/Passenger.Api/ @@ -16,7 +16,7 @@ RUN --mount=type=cache,id=passenger_nuget,target=/root/.nuget/packages \ dotnet restore ./src/Services/Passenger/src/Passenger.Api/Passenger.Api.csproj # Copy project files -COPY ./building-blocks ./building-blocks/ +COPY ./src/BuildingBlocks ./src/BuildingBlocks/ COPY ./src/Services/Passenger/src/Passenger/ ./src/Services/Passenger/src/Passenger/ COPY ./src/Services/Passenger/src/Passenger.Api/ ./src/Services/Passenger/src/Passenger.Api/