build: use ASP.NET runtime for backend images

This commit is contained in:
justme committed 2026-10-05 02:24:15 +08:00
1 parent ace42e5da7
commit 2e549b230d
3 files changed
+10 -6

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/runtime-deps:10.0-noble-chiseled-extra
FROM mcr.microsoft.com/dotnet/aspnet:10.0-noble-chiseled-extra
ARG APP_VERSION=unknown
LABEL org.opencontainers.image.title="Monitor Backend" \
@@ -17,4 +17,4 @@ ENV ASPNETCORE_HTTP_PORTS=8080 \
USER 1654:1654
VOLUME ["/data"]
EXPOSE 8080
ENTRYPOINT ["/app/monitor-backend"]
ENTRYPOINT ["dotnet", "/app/monitor-backend.dll"]