fix: Change Dockerfile to run ASP.NET Core instead of static nginx

The Blazor Web App requires the ASP.NET runtime to function properly,
as it uses interactive server components. Changed from nginx serving
static files to running the full .NET application.

Changes:
- Updated Dockerfile to use aspnet:9.0 runtime image
- Removed nginx configuration (no longer needed)
- Disabled HTTPS redirection (running behind reverse proxy)
- Added publish/ folder to .gitignore

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
sysadminandClaude committed 2025-10-20 19:28:01 +01:00
1 parent 3aa191cd3d
commit 62dc7bd93f
3 files changed
+13 -10

No files matched your search

+1 -2
View File
@@ -16,8 +16,7 @@ if (!app.Environment.IsDevelopment())
app.UseHsts();
}
app.UseHttpsRedirection();
// app.UseHttpsRedirection(); // Disabled - running behind reverse proxy
app.UseAntiforgery();