Example Dockerfile for building an nginx image with OpenResty. Based off the original docker/nginx image.
# build image
docker build -t stevena/openresty:v1 .
# run container
docker run -t -i -p 80:8080 -v=`pwd`/conf:/opt/nginx/conf -w=/opt/nginx/conf stevena/openresty:v1
# curl your boot2docker VM IP and you will see "Hello World by Lua!"