I am building a Laravel App, which runs great on the App Platform. It has a service, two workers (schedule:work and queue:work) and a pre-deploy job (migrate). They use the same code, env variables, etc., but it looks like they are building one after another, wasting tons of time. How can I build one image (maybe as a pre-deploy job) and use it in the service, workers and pre-deploy job containers?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.