Skip to content

Commit

Permalink
build: replaced src with dot prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Thundernerd committed Jan 1, 2024
1 parent 745c417 commit 8adc12f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mangarr.Backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
WORKDIR /src
COPY . .
RUN ls -R
RUN dotnet restore "/src/Mangarr.Backend/Mangarr.Backend.csproj"
RUN dotnet restore "./Mangarr.Backend/Mangarr.Backend.csproj"
COPY . .
RUN dotnet build "/src/Mangarr.Backend/Mangarr.Backend.csproj" -c Release -o /app/build
RUN dotnet build "./Mangarr.Backend/Mangarr.Backend.csproj" -c Release -o /app/build

FROM build AS publish
ARG BUILD_CONFIGURATION=Release
RUN dotnet publish "/src/Mangarr.Backend/Mangarr.Backend.csproj" -c Release -o /app/publish /p:UseAppHost=false
RUN dotnet publish "./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 8adc12f

Please sign in to comment.