From 46cde9fda5e2c1f7b01d05e9a8b270f026cb6742 Mon Sep 17 00:00:00 2001 From: Serghei Cebotari Date: Sun, 14 Jan 2024 23:12:20 +0300 Subject: [PATCH] Fix warning NETSDK1194 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f7b3a03..302a615 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy AS build WORKDIR /source COPY . . -RUN dotnet publish -o /app +RUN dotnet publish --property:OutputPath=/app FROM mcr.microsoft.com/dotnet/aspnet:8.0-jammy-chiseled EXPOSE 5000