Skip to content

Commit

Permalink
UseAppHost=True
Browse files Browse the repository at this point in the history
  • Loading branch information
Thor Christiansen committed Jan 24, 2024
1 parent 6a5d2ba commit 7ace480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Danbooru/Danbooru.UI/Danbooru.UI/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN dotnet build "./Danbooru.UI.csproj" -o /app/build

FROM build AS publish
#RUN dotnet publish "./Danbooru.UI.csproj" -o /app/publish /p:UseAppHost=false
RUN dotnet publish "./Danbooru.UI.csproj" -c Release -o /app/publish -r linux-x64 /p:PublishTrimmed=true /p:UseAppHost=false
RUN dotnet publish "./Danbooru.UI.csproj" -c Release -o /app/publish -r linux-x64 /p:PublishTrimmed=true /p:UseAppHost=true


FROM base AS final
Expand Down

0 comments on commit 7ace480

Please sign in to comment.