Writeup Here: https://serversforhackers.com/c/div-entrypoint-vs-cmd
We can use ENTRYPOINT instead of CMD within our Dockerfile's in order to setup a script that is always run (no matter what!) when a container is spun up from the image we make.
Book: https://book.serversforhackers.com/
Deploy: https://deploy.serversforhackers.com/
Docker: https://shippingdocker.com/
Laravel: https://scalinglaravel.com
Twitter: https://twitter.com/fideloper
Facebook: https://www.facebook.com/serversforhackers/