Sign inSign up

brpaz/symfony

By brpaz

•Updated over 7 years ago

An all in one Symfony 4 base image with PHP 7.3 and Nginx, optimized for PaaS deployments

Image
0

10K+

brpaz/symfony repository overview

⁠Symfony Docker Base

Gitlab pipeline status Docker Pulls MicroBadger Layers MicroBadger Size

An all in one Docker image for Symfony Applications.

⁠Description

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.

⁠What is included

  • PHP 7.3 and all the required extensions by Symfony, plus some other popular extensions
  • XDebug enabled in development
  • Blackfire Agent
  • Composer
  • Nginx

⁠Usage

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.

⁠Contributing

Contributions, issues and Features requests are welcome.

⁠Show your support

Buy Me A Coffee

⁠License

Copywright @ 2019 Bruno Paz⁠

This project is MIT⁠ Licensed.

Tag summary

Content type

Image

Digest

Size

55.4 MB

Last updated

over 7 years ago

docker pull brpaz/symfony