From 5e4954ae32b32f4962064e25626c5e268e02199c Mon Sep 17 00:00:00 2001 From: Slendy Date: Thu, 30 Mar 2023 20:08:20 -0500 Subject: [PATCH] Update Dockerfile to comply with dotnet 7.0.2 SDK changes --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 965ce810..40e5a0be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN dotnet sln list | grep ".csproj" \ RUN dotnet restore COPY . . -RUN dotnet publish -c Release -o /ProjectLighthouse/publish --no-restore +RUN dotnet publish -c Release --property:OutputPath=/ProjectLighthouse/publish --no-restore # Final running container FROM mcr.microsoft.com/dotnet/aspnet:7.0-alpine AS final