From 9dec980bf62895111a832427e310cf9f9eefe3b5 Mon Sep 17 00:00:00 2001 From: ilitirit Date: Fri, 5 May 2023 02:31:42 +0200 Subject: [PATCH] --no-self-contained --- Expedience.Web/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Expedience.Web/Dockerfile b/Expedience.Web/Dockerfile index 8a0289f..88ff0c6 100644 --- a/Expedience.Web/Dockerfile +++ b/Expedience.Web/Dockerfile @@ -20,7 +20,7 @@ RUN dotnet build "Expedience.Web.csproj" -c Release -o /app/build # Publish the project ARG TARGET_RUNTIME=linux-x64 -RUN dotnet publish "Expedience.Web.csproj" -c Release -o /app/publish --runtime $TARGET_RUNTIME +RUN dotnet publish "Expedience.Web.csproj" -c Release -o /app/publish --no-self-contained --runtime $TARGET_RUNTIME # Set the base image for the final runtime FROM mcr.microsoft.com/dotnet/aspnet:7.0.4-jammy-arm64v8