diff --git a/src/AzureIoTHub.Portal/Server/Dockerfile b/src/AzureIoTHub.Portal/Server/Dockerfile index 182ea6ad5..af01100d7 100644 --- a/src/AzureIoTHub.Portal/Server/Dockerfile +++ b/src/AzureIoTHub.Portal/Server/Dockerfile @@ -2,6 +2,9 @@ FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app + +ENV ASPNETCORE_URLS=http://+:80;https://+:443 + EXPOSE 80 EXPOSE 443