Reputation: 316
I am new to Docker and I am trying to implement a laravel project using docker.I successfully run that project using Docker.
But I am in trouble with building that project or dockerize that. I have done some digging for dockerize laravel project but none of them use Laradock.
I have confusion with writing dockerfile which will be necessary for Dockerize projcet.
Any suggestion or tutorial related to dockerize laravel along with Laradock and writing docker file will be really helpful.
Upvotes: 2
Views: 1053
Reputation: 1147
Laradock is only for development as stated in their website. Dockerizing the app for production, you need to have a Dockerfile
and docker-compose.yml
files.
Upvotes: 3
Reputation: 1390
Please have a look this article. It describes how to "dockerize" application which uses nginx/php-fpm
and mysql
. Example provided on laravel.
Also will be good to understand what is Docker and how it works.
Upvotes: 2