Hey there DEV.to community!
In the last part, we've covered how to dockerize a Laravel app. That was a great way to know how stuff goes around in ...
For further actions, you may consider blocking this person and/or reporting abuse
This is a great article. Are you planning on expanding this article and build more with Redis, and setup Redis Queues and Laravel Horizon?
How do you rebuild the image with updated code without affecting currently deployed data and do migrations?
Yeah sure. I am planning on extending the docker set up for a full Laravel experience!
I've just seen FrankenPHP that works in Beta with Octane. Maybe you want to look into that and setting up Laravel 11 which is around the corner, with FrankenPHP and Octane and docker as a single image that can be setup with multiple containers including redis and mysql for a full setup experience.
It would be great to see how updates and migrations are being pushed when you roll out an update to the docker images.
Thanks for this great article. I face a problem when run
docker build -t container_nameshow this error
how can solve it. please help me.
Hi!
The command you are entering seems wrong.
The
docker buildrequires an address to build. So make sure to include a.(dot) at the end to build the current directory:Let me know if this didn't solve your problem.