mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(svcs): ✨🔥 dotnet publish -p:DebugSymbols=false
This commit is contained in:
parent
8156117927
commit
b3e93a7f22
2 changed files with 2 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ COPY Archival/FilterLists.Archival.Api/. .
|
|||
|
||||
# TODO: enable PublishTrimmed in csproj file
|
||||
# TODO: enable PublishReadyToRun
|
||||
RUN dotnet publish -c Release -p:DebugType=None --no-restore -o /app/publish -p:TreatWarningsAsErrors=true -r linux-musl-x64 --self-contained true -p:PublishSingleFile=true
|
||||
RUN dotnet publish -c Release -p:DebugType=None -p:DebugSymbols=false --no-restore -o /app/publish -p:TreatWarningsAsErrors=true -r linux-musl-x64 --self-contained true -p:PublishSingleFile=true
|
||||
|
||||
# package final
|
||||
FROM base AS final
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ COPY Directory/FilterLists.Directory.Api/. .
|
|||
|
||||
# TODO: enable PublishTrimmed in csproj file
|
||||
# TODO: enable PublishReadyToRun
|
||||
RUN dotnet publish -c Release -p:DebugType=None --no-restore -o /app/publish -p:TreatWarningsAsErrors=true -r linux-musl-x64 --self-contained true -p:PublishSingleFile=true
|
||||
RUN dotnet publish -c Release -p:DebugType=None -p:DebugSymbols=false --no-restore -o /app/publish -p:TreatWarningsAsErrors=true -r linux-musl-x64 --self-contained true -p:PublishSingleFile=true
|
||||
|
||||
# package final
|
||||
FROM base AS final
|
||||
|
|
|
|||
Loading…
Reference in a new issue