https://github.com/astralapp/astral
docker build -t astral:latest .
docker-compose build
docker login -u <username>
docker tag astral:latest <username>/astral:latest
docker push <username>/astral
copy the .env.template
file to .env
and change the values
docker run -it --rm -p 8080:80 astral:latest
docker-compose up -d
- generate application key
docker-compose exec app php artisan key:generate
- create/migrate database
docker-compose exec app php artisan migrate
https://laravel-news.com/multi-stage-docker-builds-for-laravel