Skip to content
Discussion options

You must be logged in to vote

I would add a start up script to the image.

Make sure your script checks the artisan command exists before running it, and make sure it has proper error handling if something fails during start up.

https://serversideup.net/open-source/docker-php/docs/customizing-the-image/adding-your-own-start-up-scripts

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@akulmehta
Comment options

Answer selected by akulmehta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants