Skip to content

Commit

Permalink
Set default port to 80 in Dockerfile (#13)
Browse files Browse the repository at this point in the history
* Create publish-docker-images.yml

* Update Dockerfile
  • Loading branch information
lanedirt authored Nov 24, 2024
1 parent 5737bbc commit a84b229
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Mov2Gif.Client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*

COPY --from=build /app/publish .

# Set ASP.NET Core environment variables
ENV ASPNETCORE_URLS=http://+:80
ENV ASPNETCORE_ENVIRONMENT=Production

EXPOSE 80

ENTRYPOINT ["dotnet", "Mov2Gif.Client.dll"]

0 comments on commit a84b229

Please sign in to comment.