Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
WeihanLi authored Nov 20, 2023
1 parent cdf4e54 commit cf57459
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base

# use forward headers
ENV ASPNETCORE_FORWARDEDHEADERS_ENABLED=true
# configure http port to use 80
ENV ASPNETCORE_HTTP_PORTS=80

LABEL Maintainer="WeihanLi"

Expand All @@ -28,4 +30,3 @@ WORKDIR /app
COPY --from=build-env /src/OpenReservation/out .

ENTRYPOINT ["dotnet", "OpenReservation.dll"]
ENV ASPNETCORE_HTTP_PORTS=80

0 comments on commit cf57459

Please sign in to comment.