From e57c916bc6879088685d8027bbcf35ad5a9c82af Mon Sep 17 00:00:00 2001 From: masoud Date: Fri, 5 Dec 2025 22:16:25 +0000 Subject: [PATCH 1/2] Trigger rebuild From 6e00a0793667175c44aa716340160587052751a4 Mon Sep 17 00:00:00 2001 From: masoud Date: Fri, 5 Dec 2025 22:17:37 +0000 Subject: [PATCH 2/2] Add all 16 Protobuf projects to Dockerfile --- Dockerfile | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index ed76bf7..8134f3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,7 @@ FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build WORKDIR /src -# Copy solution COPY src/BackOffice.BFF.sln ./ - -# Copy all project files COPY src/BackOffice.BFF.WebApi/*.csproj ./BackOffice.BFF.WebApi/ COPY src/BackOffice.BFF.Application/*.csproj ./BackOffice.BFF.Application/ COPY src/BackOffice.BFF.Infrastructure/*.csproj ./BackOffice.BFF.Infrastructure/ @@ -15,16 +12,21 @@ COPY src/Protobufs/BackOffice.BFF.ClubMembership.Protobuf/*.csproj ./Protobufs/B COPY src/Protobufs/BackOffice.BFF.Commission.Protobuf/*.csproj ./Protobufs/BackOffice.BFF.Commission.Protobuf/ COPY src/Protobufs/BackOffice.BFF.Package.Protobuf/*.csproj ./Protobufs/BackOffice.BFF.Package.Protobuf/ COPY src/Protobufs/BackOffice.BFF.UserAddress.Protobuf/*.csproj ./Protobufs/BackOffice.BFF.UserAddress.Protobuf/ -COPY src/Protobufs/BackOffice.BFF.VipPlan.Protobuf/*.csproj ./Protobufs/BackOffice.BFF.VipPlan.Protobuf/ -COPY src/Protobufs/BackOffice.BFF.StadiumAddress.Protobuf/*.csproj ./Protobufs/BackOffice.BFF.StadiumAddress.Protobuf/ +COPY src/Protobufs/BackOffice.BFF.UserRole.Protobuf/*.csproj ./Protobufs/BackOffice.BFF.UserRole.Protobuf/ +COPY src/Protobufs/BackOffice.BFF.Role.Protobuf/*.csproj ./Protobufs/BackOffice.BFF.Role.Protobuf/ +COPY src/Protobufs/BackOffice.BFF.Common.Protobuf/*.csproj ./Protobufs/BackOffice.BFF.Common.Protobuf/ +COPY src/Protobufs/BackOffice.BFF.Health.Protobuf/*.csproj ./Protobufs/BackOffice.BFF.Health.Protobuf/ +COPY src/Protobufs/BackOffice.BFF.Otp.Protobuf/*.csproj ./Protobufs/BackOffice.BFF.Otp.Protobuf/ +COPY src/Protobufs/BackOffice.BFF.NetworkMembership.Protobuf/*.csproj ./Protobufs/BackOffice.BFF.NetworkMembership.Protobuf/ +COPY src/Protobufs/BackOffice.BFF.Category.Protobuf/*.csproj ./Protobufs/BackOffice.BFF.Category.Protobuf/ +COPY src/Protobufs/BackOffice.BFF.User.Protobuf/*.csproj ./Protobufs/BackOffice.BFF.User.Protobuf/ +COPY src/Protobufs/BackOffice.BFF.Configuration.Protobuf/*.csproj ./Protobufs/BackOffice.BFF.Configuration.Protobuf/ +COPY src/Protobufs/BackOffice.BFF.UserOrder.Protobuf/*.csproj ./Protobufs/BackOffice.BFF.UserOrder.Protobuf/ -# Restore dependencies RUN dotnet restore "BackOffice.BFF.WebApi/BackOffice.BFF.WebApi.csproj" -# Copy source code COPY src/ ./ -# Build and publish RUN dotnet publish "BackOffice.BFF.WebApi/BackOffice.BFF.WebApi.csproj" -c Release -o /app/publish --no-restore FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS runtime