mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
2c435ab8be
Signed-off-by: Jean-Pierre Huynh <jean-pierre.huynh@ounet.fr>
11 lines
327 B
Text
11 lines
327 B
Text
(from "ubuntu:14.04")
|
|
(label "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")
|