mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
234f0e4f79
Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh)
11 lines
319 B
Text
11 lines
319 B
Text
(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")
|