🐛 Fix trimmed publish cause unable to run
This commit is contained in:
parent
99f2e724a6
commit
3004536cc1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user