Skip to content

Commit

Permalink
disable AOT since it dont play well with WASM
Browse files Browse the repository at this point in the history
  • Loading branch information
Thor Christiansen committed Jan 24, 2024
1 parent e7ee345 commit 6a5d2ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Danbooru/Danbooru.UI/Danbooru.UI/Danbooru.UI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<DockerfileContext>..\..</DockerfileContext>
<DockerComposeProjectPath>..\..\docker-compose.dcproj</DockerComposeProjectPath>
<PublishTrimmed>True</PublishTrimmed>
<PublishAot>True</PublishAot>
<PublishAot>False</PublishAot>
</PropertyGroup>

<ItemGroup>
Expand Down
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:PublishAot=true /p:UseAppHost=false
RUN dotnet publish "./Danbooru.UI.csproj" -c Release -o /app/publish -r linux-x64 /p:PublishTrimmed=true /p:UseAppHost=false


FROM base AS final
Expand Down

0 comments on commit 6a5d2ba

Please sign in to comment.