Skip to content

Commit

Permalink
builld: extra logging and changed prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Thundernerd committed Jan 1, 2024
1 parent 8adc12f commit c7f26d7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Mangarr.Backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c7f26d7

Please sign in to comment.