disable trimming in docker

This commit is contained in:
Jason Dove
2022-02-05 13:41:47 -06:00
parent e32dbd0474
commit 5937211bb8
4 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ COPY ErsatzTV.Core.Tests/. ./ErsatzTV.Core.Tests/
COPY ErsatzTV.Infrastructure/. ./ErsatzTV.Infrastructure/
WORKDIR /source/ErsatzTV
ARG INFO_VERSION="unknown"
RUN dotnet publish -c release -o /app -r linux-x64 --self-contained false --no-restore /p:DebugType=Embedded /p:InformationalVersion=${INFO_VERSION}
RUN dotnet publish -c release -o /app -r linux-x64 --self-contained false --no-restore /p:DebugType=Embedded /p:InformationalVersion=${INFO_VERSION} /p:PublishTrimmed=false
# final stage/image
FROM jasongdove/ffmpeg:5.0-vaapi2004 AS runtime-base