Skip to content

Commit

Permalink
fix: remove port dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
adolfosp committed Jan 27, 2025
1 parent 2c85d49 commit 543a487
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Back-Orange-Finance/Orange-Finance/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
WORKDIR /app
EXPOSE 8080
EXPOSE 8081

FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
ARG BUILD_CONFIGURATION=Release
Expand Down Expand Up @@ -29,6 +28,6 @@ FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .

ENV ASPNETCORE_URLS=http://+:8081;http://+:8080
ENV ASPNETCORE_URLS=http://+:8080

ENTRYPOINT ["dotnet", "OrangeFinance.dll"]

0 comments on commit 543a487

Please sign in to comment.