aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-06-16 17:21:42 +0800
committercrupest <crupest@outlook.com>2020-06-16 17:21:42 +0800
commitd55feff17c861618a290b8ebe6241ca3dbcae01a (patch)
tree0c8767d2bb8202cad9c3695c0ba50ed5355c02b2 /Dockerfile
parent74032c5b506b69a4b2799e9373ab10ce2e86092b (diff)
downloadtimeline-d55feff17c861618a290b8ebe6241ca3dbcae01a.tar.gz
timeline-d55feff17c861618a290b8ebe6241ca3dbcae01a.tar.bz2
timeline-d55feff17c861618a290b8ebe6241ca3dbcae01a.zip
fix(back): Add a missing docker env variable.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 49d938df..5be1d333 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,5 +5,6 @@ RUN dotnet publish Timeline/Timeline.csproj --configuration Release --output ./T
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1
WORKDIR /app
+ENV ASPNETCORE_FORWARDEDHEADERS_ENABLED true
COPY --from=build /timeline-app/Timeline/publish .
ENTRYPOINT ["dotnet", "Timeline.dll"]