diff options
author | crupest <crupest@outlook.com> | 2020-06-16 17:21:42 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-06-16 17:21:42 +0800 |
commit | 3c31520b36b8482298f429fe18fa16fe5e633b35 (patch) | |
tree | 0f52b2b28b73afb82509df3fda3aad606d0f451f /Dockerfile | |
parent | c949e3d9f40b32125a844e3c172aa62284510440 (diff) | |
download | timeline-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-- | Dockerfile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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"] |