Skip to content

Commit

Permalink
Fix sonarcloud issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Phoenox committed Dec 15, 2023
1 parent b581ca6 commit fd9e36d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SideQuest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ COPY ["SideQuest/SideQuest.csproj", "SideQuest/"]
RUN dotnet restore "SideQuest/SideQuest.csproj"
COPY . .
WORKDIR "/src/SideQuest"
RUN dotnet build "SideQuest.csproj" -c $BUILD_CONFIGURATION -o /app/build
RUN dotnet build "SideQuest.csproj" -c "$BUILD_CONFIGURATION" -o /app/build

FROM build AS publish
ARG BUILD_CONFIGURATION=Release
RUN dotnet publish "SideQuest.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
RUN dotnet publish "SideQuest.csproj" -c "$BUILD_CONFIGURATION" -o /app/publish /p:UseAppHost=false

FROM base AS final
WORKDIR /app
Expand Down

0 comments on commit fd9e36d

Please sign in to comment.