laravel new code
(or check the docs on how to create a new instance for your situation).env
into the code
directory: cp .env ./code/
docker compose build
to build the Dockerfiledocker compose up -D
to start the environmentYou can check the logs with docker compose logs -f
(use ctrl-c to exit)