From c7936e91317a3068aa8c7910f946aba253fda0ef Mon Sep 17 00:00:00 2001 From: khwezi Date: Tue, 3 Mar 2026 14:53:47 +0200 Subject: [PATCH] Refactored base image --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index afcf117..ebaa77a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,4 @@ -# Stage 1: Build the app using the SDK -FROM ://mcr.microsoft.com AS build +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /src COPY . . RUN dotnet publish "SampleApi/SampleApi.csproj" -c Release -o /app/publish