diff --git a/Dockerfile.release b/Dockerfile.release index 19c4405..b3b5662 100644 --- a/Dockerfile.release +++ b/Dockerfile.release @@ -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 . . diff --git a/src/BCards.Web/BCards.Web.csproj b/src/BCards.Web/BCards.Web.csproj index 30f20a7..33c6766 100644 --- a/src/BCards.Web/BCards.Web.csproj +++ b/src/BCards.Web/BCards.Web.csproj @@ -5,6 +5,7 @@ enable enable false + linux-x64;linux-arm64