From 7270f6cdd6a842259b2e1d0ea6b0db47af7f1226 Mon Sep 17 00:00:00 2001 From: Beth Cryer <107105538+bethcryer@users.noreply.github.com> Date: Wed, 15 Feb 2023 10:04:33 +0000 Subject: [PATCH] Dockerfile now builds using .proj file (#90) --- dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerfile b/dockerfile index 0fa0d256..872d779f 100644 --- a/dockerfile +++ b/dockerfile @@ -5,7 +5,7 @@ WORKDIR /app COPY . . -RUN dotnet restore && dotnet publish -c Release -o out +RUN dotnet restore && dotnet publish src/Answer.King.Api/Answer.King.Api.csproj -c Release -o out #build runtime image FROM mcr.microsoft.com/dotnet/aspnet:7.0