Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page "Add Dockerfiles to your .NET app model" should explain AddDockerfile vs WithDockerfile #1824

Open
yoDon opened this issue Oct 13, 2024 · 0 comments
Assignees
Labels
⌚ Not Triaged Not triaged

Comments

@yoDon
Copy link

yoDon commented Oct 13, 2024

The Add Dockerfiles to your .NET app model page starts by telling readers there are two extension methods, .AddDockerFile() and .WithDockerfile(), without ever explaining what their differences are, why there are two similarly named commands, or when to use one vs. the other.

With .NET Aspire it's possible to specify a Dockerfile to build when the app host is started using either the AddDockerfile or WithDockerfile extension methods.

Does one of these commands create a Dockerfile for a project that doesn't have one? That would be great if it does, but I'm unable to figure out the answer after having read this page multiple times.

@dotnetrepoman dotnetrepoman bot added the ⌚ Not Triaged Not triaged label Oct 13, 2024
@IEvangelist IEvangelist self-assigned this Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⌚ Not Triaged Not triaged
Projects
None yet
Development

No branches or pull requests

2 participants