Skip to content

Commit 4dda375

Browse files
committed
Build service as a self-contained from linux x64 platform
1 parent 5636b91 commit 4dda375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TemplateService/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN dotnet restore "$SOLUTION_NAME.sln" \
2323
RUN dotnet build "$SOLUTION_NAME.sln" -c Release -o /app/build --no-restore
2424

2525
FROM build AS publish
26-
RUN dotnet publish "$SOLUTION_NAME.sln" -c Release -o /app/publish
26+
RUN dotnet publish "$SOLUTION_NAME.sln" -c Release -o /app/publish --self-contained -r linux-x64
2727

2828
FROM base AS final
2929
WORKDIR /app

0 commit comments

Comments
 (0)