Update ip forwarding logic

This commit is contained in:
Liza 2023-02-09 23:13:19 +01:00
parent f8b77b9aa9
commit 84a6f1e0a1

View File

@ -11,7 +11,8 @@ FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS runtime
EXPOSE 5415 EXPOSE 5415
ENV DOTNET_ENVIRONMENT=Production ENV DOTNET_ENVIRONMENT=Production
ENV ASPNETCORE_URLS= ENV ASPNETCORE_URLS=
ENV DATADIRECTORY=/data ENV DataDirectory=/data
ENV UseForwardedIp=true
ENV Kestrel__Endpoints__Http2__Url=http://+:5415 ENV Kestrel__Endpoints__Http2__Url=http://+:5415
RUN adduser --uid 2000 --disabled-password --group --no-create-home --quiet --system pal RUN adduser --uid 2000 --disabled-password --group --no-create-home --quiet --system pal