Skip to content

piccaso/docker-asmttpd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

asmttpd for Docker

based on:

Docker Pulls
Docker Repository on Quay.io

Basic usage

docker run -p 8080:80 --name asmttpd -d 0xff/asmttpd
curl http://localhost:8080/ # --> it works!

Use custom content

# go somwhere we can play...
cd `mktemp -d`

# download some random template (thanks bootstrapzero.com!)
curl -o template.zip http://www.codeply.com/download/DRBmOoChfM
unzip template.zip && rm template.zip

# start it
docker run -p 8888:80 --name asmttpd-site -d -v `pwd`:/var/www 0xff/asmttpd

# point your browser to http://localhost:8888/

Building

Optional, image available on Docker Hub.

# build filesystem
./build/build.sh

# build image
docker build -t 0xff/asmttpd tiny

Releases

No releases published

Packages

No packages published

Languages