docker-nginx/Dockerfile
2016-01-21 12:57:50 -08:00

19 lines
387 B
Docker

FROM ubuntu:trusty
RUN apt-get update && \
apt-get install -y nginx-light supervisor && \
rm -rf /var/lib/apt/lists/* && \
echo 'daemon off;' >> /etc/nginx/nginx.conf
# Supervisor confs
ADD supervisor.conf /etc/supervisor/conf.d/supervisor.conf
ADD supervisor-nginx.conf /etc/supervisor/conf.d/nginx.conf
# Startup tasks
ENTRYPOINT ["supervisord"]
EXPOSE 80
EXPOSE 443