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 | d55feff17c861618a290b8ebe6241ca3dbcae01a (patch) | |
tree | 0c8767d2bb8202cad9c3695c0ba50ed5355c02b2 /Dockerfile | |
parent | 74032c5b506b69a4b2799e9373ab10ce2e86092b (diff) | |
download | timeline-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-- | 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"] |