wangxian/alpine-php

By wangxian

Updated over 1 year ago

This creates a Docker container running Nginx and PHP-FPM on Alpine Linux.

Image
Languages & frameworks
1

6.4K

wangxian/alpine-php repository overview

alpine-php

This creates a Docker container running Nginx and PHP-FPM on Alpine Linux.

Desired directory structure:

alpine-php
├── Dockerfile
├── docker
│   ├── nginx.conf
│   └── php-fpm.conf
└── public
    ├── js
    ├── img
    └── index.php

Build image

docker build -t myapp .

Usage

docker run -it --rm -p 8000:80 myapp

Tag summary

Content type

Image

Digest

sha256:0cc31e30b

Size

16.6 MB

Last updated

over 1 year ago

docker pull wangxian/alpine-php