Sign inSign up

wangxian/alpine-php

By wangxian

•Updated almost 2 years ago

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

Image
Languages & frameworks
1

9.3K

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

almost 2 years ago

docker pull wangxian/alpine-php