build script for maui apk adjusted 2 #2

Open
itob wants to merge 29 commits from development into master
Showing only changes of commit e10e7f3c85 - Show all commits

View File

@ -7,8 +7,8 @@ EXPOSE 443
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
ARG BUILD_CONFIGURATION=Release ARG BUILD_CONFIGURATION=Release
WORKDIR /src WORKDIR /src
COPY ["../../RBLNews.Web/RBLNews.Shared.csproj", "RBLNews.Shared/"] COPY ["../../RBLNews.Shared/RBLNews.Shared.csproj", "RBLNews.Shared/"]
RUN dotnet restore "RBLFeeder/RBLNews.Web.csproj" RUN dotnet restore "RBLNews/RBLNews.Web.csproj"
COPY . . COPY . .
WORKDIR "/src/RBLNews.Web" WORKDIR "/src/RBLNews.Web"
RUN dotnet build "RBLNews.Web.csproj" -c $BUILD_CONFIGURATION -o /app/build RUN dotnet build "RBLNews.Web.csproj" -c $BUILD_CONFIGURATION -o /app/build