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