Unable to create web_only image for a fresh install

Discourse can’t run if the database isn’t populated with the tables and data that it requires. It also needs to precompile assets. You’ll need to understand how those work if you’re going to try to deploy some other way.