Initial .NET API service

This commit is contained in:
AppFactory Bot
2026-10-20 07:35:47 +00:00
commit 908d6c9954
7 changed files with 413 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY . .
RUN dotnet publish "SmsSluzba.csproj" -c Release -o /app/publish
FROM mcr.microsoft.com/dotnet/aspnet:8.0
WORKDIR /app
ENV ASPNETCORE_URLS=http://+:8080
EXPOSE 8080
COPY --from=build /app/publish .
ENTRYPOINT ["dotnet", "SmsSluzba.dll"]