This repository demonstrates how to dockerize and deploy a Laravel application to Back4app Containers.
To learn more check out the article.
-
Install Docker (if you don't have it yet).
-
Build and tag the image:
$ docker build -t laravel-sample:1.0 .
-
Start a new container:
$ docker run -p 80:80 laravel-sample:1.0
-
Navigate to http://localhost/ in your favorite web browser.