2014-08-05 20:17:40 +00:00
|
|
|
(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")
|
2014-08-29 19:49:16 +00:00
|
|
|
(expose "80")
|