You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.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.
The text was updated successfully, but these errors were encountered: