|
|
|
|
@ -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 /p:UseAppHost=false --self-contained --runtime $TARGET_RUNTIME
|
|
|
|
|
RUN dotnet publish "Expedience.Web.csproj" -c Release -o /app/publish --runtime $TARGET_RUNTIME
|
|
|
|
|
|
|
|
|
|
# Set the base image for the final runtime
|
|
|
|
|
FROM mcr.microsoft.com/dotnet/aspnet:7.0.4-jammy-arm64v8
|
|
|
|
|
|