From 0b77b336c78dcce1d9afbd61ad55fc4e9f3fd9cf Mon Sep 17 00:00:00 2001 From: ilitirit Date: Wed, 7 Aug 2024 17:28:14 +0200 Subject: [PATCH] Update dockerfile to .NET v8 --- Expedience.Api/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Expedience.Api/Dockerfile b/Expedience.Api/Dockerfile index 664adc0..128d371 100644 --- a/Expedience.Api/Dockerfile +++ b/Expedience.Api/Dockerfile @@ -1,5 +1,5 @@ # Set the base image -FROM mcr.microsoft.com/dotnet/sdk:7.0.202-jammy-arm64v8 AS build +FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy-arm64v8 AS build # Set the working directory WORKDIR /src @@ -22,7 +22,7 @@ ARG TARGET_RUNTIME=linux-x64 RUN dotnet publish "Expedience.Api/Expedience.Api.csproj" -c Release -o /app/publish --self-contained --runtime $TARGET_RUNTIME # Set the base image for the final runtime -FROM mcr.microsoft.com/dotnet/aspnet:7.0.4-jammy-arm64v8 +FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy-arm64v8 AS build # Set the working directory WORKDIR /app