switched to self signed https
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user