From 3004536cc115e3325db1148401b421de9eabb48f Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Mon, 26 May 2025 19:28:38 +0800 Subject: [PATCH] :bug: Fix trimmed publish cause unable to run --- DysonNetwork.Sphere/Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/DysonNetwork.Sphere/Dockerfile b/DysonNetwork.Sphere/Dockerfile index 992f25e..4299903 100644 --- a/DysonNetwork.Sphere/Dockerfile +++ b/DysonNetwork.Sphere/Dockerfile @@ -36,7 +36,6 @@ RUN mkdir -p /app/publish/zh-Hans # Trim, ReadyToRun, single-file (optional), no self-contained to keep image small RUN dotnet publish -c $BUILD_CONFIGURATION -o /app/publish \ - -p:PublishTrimmed=true \ -p:PublishReadyToRun=true \ -p:TieredPGO=true \ -p:SuppressTrimAnalysisWarnings=true