- (from "ubuntu:14.04")
- (maintainer "Erik Hollensbe <erik@hollensbe.org>")
- (run "apt-get update && apt-get install nginx-full -y")
- (run "rm -rf /etc/nginx")
- (add "etc" "/etc/nginx")
- (run "chown -R root:root /etc/nginx")
- (run "/usr/sbin/nginx -qt")
- (run "mkdir /www")
- (cmd "/usr/sbin/nginx")
- (volume "/www")
- (expose "80")
|