feat/live-preview #8
@ -39,10 +39,9 @@ COPY ["src/BCards.Web/BCards.Web.csproj", "src/BCards.Web/"]
|
|||||||
RUN case "$TARGETPLATFORM" in \
|
RUN case "$TARGETPLATFORM" in \
|
||||||
"linux/amd64") RID="linux-x64" ;; \
|
"linux/amd64") RID="linux-x64" ;; \
|
||||||
"linux/arm64") RID="linux-arm64" ;; \
|
"linux/arm64") RID="linux-arm64" ;; \
|
||||||
*) echo "Unsupported platform: $TARGETPLATFORM" && exit 1 ;; \
|
|
||||||
esac && \
|
esac && \
|
||||||
echo "🏗️ Restoring for platform: $TARGETPLATFORM -> RID: $RID" && \
|
echo "🔧 Restoring for RID: $RID" && \
|
||||||
dotnet restore "src/BCards.Web/BCards.Web.csproj" --runtime $RID
|
dotnet restore "BCards.Web.csproj" --runtime $RID
|
||||||
|
|
||||||
# Copy source code
|
# Copy source code
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
@ -5,6 +5,7 @@
|
|||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<EnableDefaultEmbeddedResourceItems>false</EnableDefaultEmbeddedResourceItems>
|
<EnableDefaultEmbeddedResourceItems>false</EnableDefaultEmbeddedResourceItems>
|
||||||
|
<RuntimeIdentifiers>linux-x64;linux-arm64</RuntimeIdentifiers>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user