Skip to content

Commit

Permalink
Improve Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
RicoSuter committed Dec 13, 2024
1 parent 26d64d0 commit a7a1459
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/HomeBlaze.Host/Things/SystemDiagnostics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ public class SystemDiagnostics : PollingThing, IIconProvider, ILastUpdatedProvid
[State("OperatingSystem")]
public string OperatingSystem => RuntimeInformation.OSDescription;

[State("FrameworkDescription")]
public string FrameworkDescription => RuntimeInformation.FrameworkDescription;

[State]
public int ProcessorCount { get; private set; }

Expand Down
2 changes: 1 addition & 1 deletion src/HomeBlaze/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage 1: Base image
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:9.0 AS build
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443
Expand Down

0 comments on commit a7a1459

Please sign in to comment.