diff options
author | crupest <crupest@outlook.com> | 2022-11-21 12:55:05 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-21 12:55:05 +0800 |
commit | ace566b053da9cab8fe25eede61dba744bf3d749 (patch) | |
tree | 8d5f34212e8b4dad83c0c75cdc37079f6a453c62 /Dockerfile | |
parent | d8000f1a86ece6a4ec174b58fcbca94195a5ed40 (diff) | |
download | timeline-ace566b053da9cab8fe25eede61dba744bf3d749.tar.gz timeline-ace566b053da9cab8fe25eede61dba744bf3d749.tar.bz2 timeline-ace566b053da9cab8fe25eede61dba744bf3d749.zip |
Try to fix timeline again.
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -12,6 +12,8 @@ COPY --from=front-build /timeline-app/dist /timeline-app/Timeline/ClientApp RUN dotnet publish Timeline/Timeline.csproj --configuration Release --output ./Timeline/publish/ -r linux-x64 --self-contained false
FROM mcr.microsoft.com/dotnet/aspnet:6.0
+ENV ASPNETCORE_URLS=http://+:80
WORKDIR /app
COPY --from=back-build /timeline-app/Timeline/publish .
+EXPOSE 80
ENTRYPOINT ["dotnet", "Timeline.dll"]
|