This is a Dockerfile to build a alpine based container image running Nginx, PHP-FPM 7.x and Supervisor.
| Docker Tag | GitHub Release | Nginx Version | PHP Version | Alpine Version |
|-------|---------------|-------|-------|------|
| latest | master Branch |1.22.0 | 7.4.30 | 3.16 |
To build from source you need to clone the git repo and run docker build:
$ git clone https://github.com/brunomgv/nginx-php-fpm-alpine.git
$ cd nginx-php-fpm-alpine
followed by
$ docker build -t nginx-php-fpm-alpine:latest .
$ docker pull brunovilalba/nginx-php-fpm-alpine:latest
To run the container:
$ sudo docker run -d brunovilalba/nginx-php-fpm-alpine:latest
Default web root:
/var/www/html