feat: added deployment
ci / image (push) Canceled after 0s
ci / build (push) Canceled after 4m19s

This commit is contained in:
Greboh committed 2026-11-07 18:44:09 +01:00
1 parent 91ae771ca2
commit 7cba626704
9 files changed
+208

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
WORKDIR /src
COPY src/ .
RUN dotnet restore Hosts/Hearth.Api/Hearth.Api.csproj
RUN dotnet publish Hosts/Hearth.Api/Hearth.Api.csproj -c Release --no-restore -o /app
FROM mcr.microsoft.com/dotnet/aspnet:10.0
WORKDIR /app
COPY --from=build /app .
USER app
ENTRYPOINT ["dotnet", "Hearth.Api.dll"]