Skip to content

Commit

Permalink
Stop trimming due to Microsoft.Data.Sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
sboulema committed Nov 18, 2023
1 parent 297b5ee commit 5d2d3c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS sdk
RUN apk add --no-cache npm
WORKDIR /app
COPY . .
RUN dotnet publish --runtime linux-musl-x64 --self-contained -c Release -o out -p:PublishTrimmed=true -p:TrimMode=partial
RUN dotnet publish --runtime linux-musl-x64 --self-contained -c Release -o out

FROM mcr.microsoft.com/dotnet/runtime-deps:8.0-alpine
RUN apk add --no-cache tzdata
Expand Down

0 comments on commit 5d2d3c3

Please sign in to comment.