An all in one Symfony 4 base image with PHP 7.3 and Nginx, optimized for PaaS deployments
10K+
An all in one Docker image for Symfony Applications.
This image provides all the basics to dockerize a Symfony Application.
Its optimized for running Symfony on PaaS systems like Heroku Docker Runtime or Google Cloud Run as it includes Nginx and PHP in the same image, plus allowing to specify "$PORT" variable as required the the mentioned PaaS.
Add the following to the top of your Dockerfile.
FROM brpaz/symfony:latest
This image contains "ONBUILD" commands that will automatically install your application dependencies using Composer.
For this to work, your application Dockerfile should be in the root of your Symfony project.
Contributions, issues and Features requests are welcome.
Copywright @ 2019 Bruno Paz
This project is MIT Licensed.
Content type
Image
Digest
Size
55.4 MB
Last updated
over 7 years ago
docker pull brpaz/symfony