Flashing Initial App to Micro SD

I have Wifi Connect setup in my project however not sure the best practice to having it ship with the designated app on the device? Is it standard practice to flash it, let it connect to the internet to download the latest docker images, then ship it off?

Sorry, finally came across the preload cli command. Will work great for me thanks.