switched to self signed https

This commit is contained in:
DouweRavers
2025-04-17 15:22:31 +02:00
parent ef528aa10f
commit 6f03c84264
6 changed files with 14 additions and 3 deletions

View File

@@ -1,7 +1,8 @@
# 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
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
@@ -19,4 +20,5 @@ RUN dotnet publish "douwco.be.csproj" -c Release -o /app/publish
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
COPY ["./certificate.pfx", "/app/certificate.pfx"]
ENTRYPOINT ["dotnet", "douwco.be.dll"]