From a4dfa62c4f15cc907d572e29ea0c5e7f8a1bfb84 Mon Sep 17 00:00:00 2001 From: Jonas F Date: Mon, 12 Feb 2024 05:06:20 +0100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 12bc283..d8f9067 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,10 @@ -# Use the official Microsoft .NET Core SDK image as the build environment FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env WORKDIR /app -# Copy everything and build the project COPY . ./ RUN dotnet restore RUN dotnet publish -c Release -o out -# Generate the runtime image FROM mcr.microsoft.com/dotnet/aspnet:8.0 WORKDIR /app COPY --from=build-env /app/out .