Add better logging
-
I am a heavy user of the build service. Would it be possible to align the logging better between the server version and what I see in the console when running cloudron build? Specifically, it took me a while to figure out that the Build Service preferred a Dockerfile.cloudron instead of Dockerfile, which I assumed it would always use.
I believe the console logs don't provide me with that information (they only show the content of the dockerfile, but they would be similar at least, of course).
However, the app's logs on the server do specify this.Also, I could see something like "you have multiple dockerfiles, which one would you like to use" or so.
-
Good point. The build service is definitely something "generic" and not tied to Cloudron ecosystem. It think it makes sense to always choose Dockerfile unless Dockerfile.cloudron exists or is set as default somehow somewhere.
-
Actually, I looked into the code now. The Dockerfile name is sent from the CLI tool. It's the CLI tool which is defaulting to Dockerfile.cloudron. This makes sense then because Cloudron CLI tool is meant for building Cloudron apps.
-
@ekevu123 I have added it to the CLI build command now.