From e2df3b59d7ca240596702bc53c4c7545cdc3a22a Mon Sep 17 00:00:00 2001 From: selmankoc Date: Mon, 13 May 2024 18:28:33 +0300 Subject: [PATCH] ENV ASPNETCORE_URLS=http://+:80 --- src/Dockerfile.azure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dockerfile.azure b/src/Dockerfile.azure index 956f215..274f8ad 100644 --- a/src/Dockerfile.azure +++ b/src/Dockerfile.azure @@ -11,7 +11,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS final RUN apt-get update && apt-get install -y libgdiplus WORKDIR /app COPY --from=base /src/CmsKitDemo/CmsKitDemoDb/CmsKitDemo.db ./CmsKitDemoDb/CmsKitDemo.db -WORKDIR /app EXPOSE 80 +ENV ASPNETCORE_URLS=http://+:80 COPY --from=base /src/CmsKitDemo/bin/Release/publish . ENTRYPOINT ["dotnet", "CmsKitDemo.dll"] \ No newline at end of file