Skip to content

Commit

Permalink
Improve Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mitch-b committed Mar 5, 2024
1 parent 480db21 commit 88681d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ RUN dotnet build "./MaintenanceLog.csproj" -c $BUILD_CONFIGURATION -o /app/build
FROM build AS publish

ARG BUILD_CONFIGURATION=Release
RUN dotnet publish "./MaintenanceLog.csproj" -c $BUILD_CONFIGURATION -a $TARGETARCH -o /app/publish /p:UseAppHost=false
RUN dotnet publish "./MaintenanceLog.csproj" -c $BUILD_CONFIGURATION -a $TARGETARCH --no-restore -o /app/publish /p:UseAppHost=false

FROM base AS final

Expand Down

0 comments on commit 88681d1

Please sign in to comment.