Skip to content

Commit

Permalink
Updating csharp dockerfile with correct entry point, and do not expli…
Browse files Browse the repository at this point in the history
…citly expose port

Signed-off-by: Paul Yuknewicz <[email protected]>
  • Loading branch information
paulyuk committed Jul 24, 2024
1 parent c41b664 commit 2433fc4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tutorials/distributed-calculator/csharp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,5 @@ FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/aspnet:7.0 AS runtime
WORKDIR /app
COPY --from=build /app/out .

# Expose the port the application runs on
EXPOSE 80

# Run the application
ENTRYPOINT ["dotnet", "YourProjectName.dll"]
ENTRYPOINT ["dotnet", "Subtract.dll"]

0 comments on commit 2433fc4

Please sign in to comment.