mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-10 17:59:38 +08:00
Merge pull request #354 from meysamhadeli/fix/fix-building-blocks-path-in-dockerfile
fix: fix building-blocks path in dockerfiles
This commit is contained in:
commit
11e3bb3904
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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/
|
||||
|
||||
|
||||
@ -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/
|
||||
|
||||
|
||||
@ -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/
|
||||
|
||||
|
||||
@ -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/
|
||||
|
||||
|
||||
@ -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/
|
||||
|
||||
|
||||
@ -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/
|
||||
|
||||
|
||||
@ -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/
|
||||
|
||||
|
||||
@ -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/
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user