From 935b5ce03fb1dd4ce350e56c049412b3817fc2e5 Mon Sep 17 00:00:00 2001 From: "Taylor, Jonathan" Date: Thu, 2 May 2024 09:19:25 -0700 Subject: [PATCH] Update dockerfile --- web/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/Dockerfile b/web/Dockerfile index 216bf7d5..cd63d5ac 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -28,9 +28,9 @@ RUN npm install -g autorest #RUN dotnet test -c Release # build -RUN dotnet build "web/web.njsproj" -c Release -o /app/publish -FROM build AS publish RUN dotnet restore "web/web.njsproj" +RUN msbuild "web/web.njsproj" -c Release -o /app/publish +FROM build AS publish RUN dotnet publish "web/web.njsproj" -c Release -o /app/publish # --runtime linux-musl-x64 --no-self-contained