-
copy
docker/
,.htaccess
,Dockerfile
,.dockerignore
into laravel root project. -
run command
docker build -t laravel-project .
to build image -
run command
docker run -p 8000:80 --name laravel_project -d laravel-project
to run container
- php 8.0
- nginx
- supervisor
- mysql
- composer
- please update
docker/.env.production
by your own settings