From 1bb178df68bf19e4a2456ddac16cfcb3413439e9 Mon Sep 17 00:00:00 2001 From: decryptedchaos Date: Thu, 18 Jun 2026 21:48:15 -0500 Subject: [PATCH 1/3] TESTING PR PREVIEW --- nixpacks.toml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/nixpacks.toml b/nixpacks.toml index 890cd17..2fbf1aa 100644 --- a/nixpacks.toml +++ b/nixpacks.toml @@ -1,18 +1 @@ -[phases.setup] -nixPkgs = ['dotnet-sdk_10'] -nixpkgsArchive = '25.11' -aptPkgs = ['libc6', 'libicu-dev', 'libfontconfig1', 'nano', 'nmap', 'iputils-ping', 'dotnet-sdk-10.0'] - -[phases.install] -#cmds = ['dotnet restore Redot-Documentation.csproj --verbosity detailed --configfile NuGet.config'] -cmds = ['dotnet restore --verbosity detailed'] - -[phases.build] -#cmds = ['dotnet publish Redot-Documentation.csproj -c Release -r linux-x64 -f net10.0 --self-contained true -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -o out /p:Platform=AnyCPU && chmod +x out/Redot-Engine-Website'] -cmds = ['dotnet build'] -[start] -cmd = 'ls -lha && cd Redot-Documentation/bin && ls -lha' -[variables] -ASPNETCORE_ENVIRONMENT = 'Production' -ASPNETCORE_URLS = 'http://0.0.0.0:8080' -NIXPACKS_CSHARP_SDK_VERSION = '10.0.100' +NOT USING NIXPACK! From c893ea954590564dd6a7369495f4d808a44c59db Mon Sep 17 00:00:00 2001 From: decryptedchaos Date: Sat, 20 Jun 2026 08:10:07 -0500 Subject: [PATCH 2/3] Fix WASM --- Dockerfile | 2 +- nixpacks.toml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 nixpacks.toml diff --git a/Dockerfile b/Dockerfile index 78d2e83..6a24475 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ COPY . . # Publish the main project WORKDIR /src/Redot-Documentation -RUN dotnet publish -c Release -o /app/publish --no-restore +RUN dotnet publish -c Release -o /app/publish --no-restore -p:BlazorWebAssemblyEnableRuntime=true -p:BlazorWebAssemblyStaticWebAssets=true # Runtime stage FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS runtime diff --git a/nixpacks.toml b/nixpacks.toml deleted file mode 100644 index 2fbf1aa..0000000 --- a/nixpacks.toml +++ /dev/null @@ -1 +0,0 @@ -NOT USING NIXPACK! From 5b48f4ae2fd63161a369b50a5fe1d6de64b82081 Mon Sep 17 00:00:00 2001 From: decryptedchaos Date: Sat, 20 Jun 2026 08:24:08 -0500 Subject: [PATCH 3/3] remove --no-publish --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6a24475..31815f2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ COPY . . # Publish the main project WORKDIR /src/Redot-Documentation -RUN dotnet publish -c Release -o /app/publish --no-restore -p:BlazorWebAssemblyEnableRuntime=true -p:BlazorWebAssemblyStaticWebAssets=true +RUN dotnet publish -c Release -o /app/publish -p:BlazorWebAssemblyEnableRuntime=true -p:BlazorWebAssemblyStaticWebAssets=true # Runtime stage FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS runtime