From d34325afb686bb3bee4ea75e521be77b5ee0f8fb Mon Sep 17 00:00:00 2001 From: masoud Date: Fri, 5 Dec 2025 22:01:36 +0000 Subject: [PATCH] Fix Dockerfile: add all Protobuf projects --- Dockerfile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4e73ea4..ca00821 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,22 @@ FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build WORKDIR /src -COPY src/*.sln ./ +COPY src/FrontOffice.BFF.sln ./ COPY src/FrontOffice.BFF.WebApi/*.csproj ./FrontOffice.BFF.WebApi/ COPY src/FrontOffice.BFF.Application/*.csproj ./FrontOffice.BFF.Application/ COPY src/FrontOffice.BFF.Infrastructure/*.csproj ./FrontOffice.BFF.Infrastructure/ COPY src/FrontOffice.BFF.Domain/*.csproj ./FrontOffice.BFF.Domain/ -COPY src/FrontOffice.BFF.Contracts/*.csproj ./FrontOffice.BFF.Contracts/ +COPY src/Protobufs/FrontOffice.BFF.Commission.Protobuf/*.csproj ./Protobufs/FrontOffice.BFF.Commission.Protobuf/ +COPY src/Protobufs/FrontOffice.BFF.UserWallet.Protobuf/*.csproj ./Protobufs/FrontOffice.BFF.UserWallet.Protobuf/ +COPY src/Protobufs/FrontOffice.BFF.User.Protobuf/*.csproj ./Protobufs/FrontOffice.BFF.User.Protobuf/ +COPY src/Protobufs/FrontOffice.BFF.DiscountShop.Protobuf/*.csproj ./Protobufs/FrontOffice.BFF.DiscountShop.Protobuf/ +COPY src/Protobufs/FrontOffice.BFF.Package.Protobuf/*.csproj ./Protobufs/FrontOffice.BFF.Package.Protobuf/ +COPY src/Protobufs/FrontOffice.BFF.ShopingCart.Protobuf/*.csproj ./Protobufs/FrontOffice.BFF.ShopingCart.Protobuf/ +COPY src/Protobufs/FrontOffice.BFF.UserOrder.Protobuf/*.csproj ./Protobufs/FrontOffice.BFF.UserOrder.Protobuf/ +COPY src/Protobufs/FrontOffice.BFF.ClubMembership.Protobuf/*.csproj ./Protobufs/FrontOffice.BFF.ClubMembership.Protobuf/ +COPY src/Protobufs/FrontOffice.BFF.UserAddress.Protobuf/*.csproj ./Protobufs/FrontOffice.BFF.UserAddress.Protobuf/ +COPY src/Protobufs/FrontOffice.BFF.Products.Protobuf/*.csproj ./Protobufs/FrontOffice.BFF.Products.Protobuf/ +COPY src/Protobufs/FrontOffice.BFF.NetworkMembership.Protobuf/*.csproj ./Protobufs/FrontOffice.BFF.NetworkMembership.Protobuf/ RUN dotnet restore "FrontOffice.BFF.WebApi/FrontOffice.BFF.WebApi.csproj"