From c7f26d7e732a45b29363d54de1c672e2e7ca7e48 Mon Sep 17 00:00:00 2001 From: Christiaan Bloemendaal Date: Mon, 1 Jan 2024 14:07:14 +0100 Subject: [PATCH] builld: extra logging and changed prefix --- src/Mangarr.Backend/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Mangarr.Backend/Dockerfile b/src/Mangarr.Backend/Dockerfile index c6a48c5..530c114 100644 --- a/src/Mangarr.Backend/Dockerfile +++ b/src/Mangarr.Backend/Dockerfile @@ -5,15 +5,16 @@ EXPOSE 443 FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build WORKDIR /src +RUN ls -R COPY . . RUN ls -R -RUN dotnet restore "./Mangarr.Backend/Mangarr.Backend.csproj" +RUN dotnet restore "./src/Mangarr.Backend/Mangarr.Backend.csproj" COPY . . -RUN dotnet build "./Mangarr.Backend/Mangarr.Backend.csproj" -c Release -o /app/build +RUN dotnet build "./src/Mangarr.Backend/Mangarr.Backend.csproj" -c Release -o /app/build FROM build AS publish ARG BUILD_CONFIGURATION=Release -RUN dotnet publish "./Mangarr.Backend/Mangarr.Backend.csproj" -c Release -o /app/publish /p:UseAppHost=false +RUN dotnet publish "./src/Mangarr.Backend/Mangarr.Backend.csproj" -c Release -o /app/publish /p:UseAppHost=false FROM base AS final WORKDIR /app