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
commit3c31520b36b8482298f429fe18fa16fe5e633b35 (patch)
tree0f52b2b28b73afb82509df3fda3aad606d0f451f /Dockerfile
parentc949e3d9f40b32125a844e3c172aa62284510440 (diff)
downloadtimeline-3c31520b36b8482298f429fe18fa16fe5e633b35.tar.gz
timeline-3c31520b36b8482298f429fe18fa16fe5e633b35.tar.bz2
timeline-3c31520b36b8482298f429fe18fa16fe5e633b35.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"]