Public | Automated Build

Last pushed: a year ago
Short Description
A Symfony2/3 compatible image
Full Description

harmonwood/nginx-php-symfony is a Symfony2/3 compatible image

php:7.1.2-fpm-alpine => richarvey/nginx-php-fpm => harmonwood/nginx-php-symfony

Production only image appdev.php will not execute at this time

Example Project Docker file

FROM harmonwood/nginx-php-symfony:latest

# Delete richarvey's index.php file
RUN rm -f ${PROJECT_DIR}/index.php

# Copy Symfony Project Directory into the directory container directory


  • ${PROJECT_DIR} = /var/www/html

  • Nginx should be looking for the file /var/www/html/web/app.php to map to

  • Composer install runs on startup

Docker Pull Command
Source Repository