/docker.nginx-php-fpm-local

Variant of https://github.com/drud/docker.nginx-php-fpm for local development

Primary LanguageMakefileMIT LicenseMIT

Docker NGINX PHP7 FPM for Local Development

Introduction

This is a Dockerfile to build a container image for NGINX and PHP7 in FPM with development configurations and tools. This container starts from the production nginx-php-fpm container.

Developer Tools

Building and pushing to dockerhub

make container
make push
make VERSION=0.3.0 container
make VERSION=0.3.0 push
make clean

Running

To simply run the container:

sudo docker run -d drud/nginx-php-fpm7