1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-25 00:08:49 +00:00
dockerfiles/webkit/Dockerfile
2014-12-25 18:41:39 +08:00

24 lines
601 B
Docker

#
# Dockerfile for webkit
#
FROM ubuntu:14.04
MAINTAINER kev
RUN apt-get update && apt-get install -y supervisor haproxy libfontconfig1 libfreetype6
RUN mkdir -p /usr/local/lib/webkit/ /etc/supervisor/conf.d/ /etc/monit/ /var/lib/monit/events/
ADD ./*.js ./includes /usr/local/lib/webkit/
ADD ./bin/* /usr/local/bin/
ADD ./haproxy.cfg /etc/haproxy/
ADD ./supervisor/supervisord.conf /etc/supervisor/
ADD ./supervisor/conf.d/* /etc/supervisor/conf.d/
ADD ./monit/ /etc/monit/
RUN chmod 600 /etc/monit/monitrc
EXPOSE 1024 2812 9001
CMD /usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf