Changed from C# based system to own C++ implementation using crow.

This commit is contained in:
douwe
2025-08-06 00:22:27 +02:00
parent 6f03c84264
commit 66b3863388
109 changed files with 5905 additions and 1131 deletions

View File

@@ -1,24 +0,0 @@
# Use the official ASP.NET Core runtime as a parent image
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
WORKDIR /app
EXPOSE 5000 5001
ENV ASPNETCORE_URLS=https://*:5001;http://*:5000
# Use the SDK image to build the app
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY ["douwco.be.csproj", "./"]
RUN dotnet restore "./douwco.be.csproj"
COPY . .
WORKDIR "/src/."
RUN dotnet build "douwco.be.csproj" -c Release -o /app/build
FROM build AS publish
RUN dotnet publish "douwco.be.csproj" -c Release -o /app/publish
# Use the runtime image to run the app
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
COPY ["./certificate.pfx", "/app/certificate.pfx"]
ENTRYPOINT ["dotnet", "douwco.be.dll"]