Skip to content
LB

Laravel build Docker

Build Laravel (PHP 8.1) Docker image for production and push it on Docker Hub (@aliounekanoute)

Official site consultedSenegalese open-source projects

Last verified: 1 October 2026

Docker configuration files to containerize a Laravel application for production with PHP 8.1, Nginx, PHP-FPM and Supervisor. The repository contains the Dockerfile, Nginx config, php.ini and startup script.

Services
  • Dockerfile and Nginx configuration
  • PHP 8.1-FPM and Supervisor
  • Build, local test and push to Docker Hub
Access requirements

Open source, requires Docker and a Docker Hub account.

Sources