From 7b9e3fc6947caeea1f236c5d25979b6f129f4071 Mon Sep 17 00:00:00 2001 From: AlanMoonbase Date: Thu, 28 Nov 2024 11:01:43 -0800 Subject: [PATCH] restore ``Dockerfile`` back to original --- src/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Dockerfile b/src/Dockerfile index 3323f42..a93462c 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -1,11 +1,11 @@ # Use the official .NET SDK image for building the application -FROM mcr.microsoft.com/dotnet/sdk:6.0 +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src # Copy the source code COPY . . -# Restore Project +# Restore dependencies and build the application RUN dotnet build -c Release -o /app # Create clean run environment (without source and sdk)