Fix the container graceful shutdown on SIGTERM
[docker_collector_nginx/.git] / Dockerfile
1 FROM ubuntu:16.10
2 MAINTAINER admin@opensvc.com
3
4 RUN apt-get update
5 RUN DEBIAN_FRONTEND=noninteractive apt-get install -y nginx openssl ssl-cert
6
7 ADD sh/setup.sh /setup.sh
8 ADD sh/run.sh /run.sh
9 ADD cf/nginx.conf /etc/nginx/nginx.conf
10
11 RUN chmod +x /setup.sh /run.sh
12
13 ENTRYPOINT ["/run.sh"]
14