Public | Automated Build

Last pushed: 20 days ago
Short Description
7kB Web server written in amd64 assembly
Full Description

asmttpd for Docker

based on:


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
Docker Pull Command
Owner
0xff
Source Repository