feat/live-preview #8

Merged
ricardo merged 43 commits from feat/live-preview into main 2025-08-18 00:50:03 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 764d8a62f6 - Show all commits

View File

@ -39,10 +39,9 @@ COPY ["src/BCards.Web/BCards.Web.csproj", "src/BCards.Web/"]
RUN case "$TARGETPLATFORM" in \
"linux/amd64") RID="linux-x64" ;; \
"linux/arm64") RID="linux-arm64" ;; \
*) echo "Unsupported platform: $TARGETPLATFORM" && exit 1 ;; \
esac && \
echo "🏗️ Restoring for platform: $TARGETPLATFORM -> RID: $RID" && \
dotnet restore "src/BCards.Web/BCards.Web.csproj" --runtime $RID
echo "🔧 Restoring for RID: $RID" && \
dotnet restore "BCards.Web.csproj" --runtime $RID
# Copy source code
COPY . .

View File

@ -5,6 +5,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<EnableDefaultEmbeddedResourceItems>false</EnableDefaultEmbeddedResourceItems>
<RuntimeIdentifiers>linux-x64;linux-arm64</RuntimeIdentifiers>
</PropertyGroup>
<ItemGroup>