Public | Automated Build

Last pushed: 4 months ago
Short Description
This creates a Docker container running Nginx and PHP-FPM on Alpine Linux.
Full Description

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

Docker Pull Command
Owner
wangxian
Source Repository

Comments (0)