--no-self-contained

main
ilitirit 3 years ago
parent 3fce6358d2
commit 9dec980bf6

@ -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

Loading…
Cancel
Save