Skip to content

Docker container based on Alpine Linux containing Apache 2.4 web server and Php 5.4

License

Notifications You must be signed in to change notification settings

janecekt/docker-alpine-apache-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

  • Image based on alpine linux (currnetly 3.6)
  • Contains appache 2.4 + php 5.6.30
  • Apache runs or port 8080 as user nobody and logs to standard output
  • Very low footprint appx 49M

Build This Image

docker build --network=host --tag alpine-apache-php .

Use this image as a base

Copy your php web application into /app/data/htdocs

Run image

docker run -p 8080:8080 alpine-apache-php

If you want to store your app on a volume you should start it like so

docker run -v /my/volume/:/app/data -p 8080:8080

The /my/volume/htdocs should contain your web application

About

Docker container based on Alpine Linux containing Apache 2.4 web server and Php 5.4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published