简体   繁体   中英

Dockerize laravel application using laradock

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.

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.

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM