Open davidfowl opened 3 weeks ago
I think that this could work for simple applications but once you get to more involved apps its not as straight forward.
Let’s start with just calling the method so that oublish automatically fails if there’s no docker file, but we won’t provide one.
Today the default experience if you build an application using a node-based application is that we put an executable resource into the manifest. Instead, we should consider defaulting to a dockerfile based resource. That should instruct developers down the "oh I need a docker file to publish this node app", instead of "what should happen to this application when I deploy it" since nothing can deploy (currently) an executable resource.
As a stretch, we can consider baking in a docker file as an embedded resource that would be the default experience for node apps. Unclear if we should go this far by default.