2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2026-01-04 03:54:55 +01:00

update webkit

This commit is contained in:
kev
2014-12-25 18:02:48 +08:00
parent 67c21bfe42
commit ff186ae821
10 changed files with 314 additions and 11 deletions

View File

@@ -6,19 +6,16 @@ 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/
RUN mkdir -p /usr/local/lib/webkit/ /etc/supervisor/conf.d/ /etc/monit/
ADD ./*.js ./includes/ /usr/local/lib/webkit/
ADD ./phantomjs /usr/local/bin/
ADD ./webkit.sh /usr/local/bin/
ADD ./restart.sh /usr/local/bin/
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/haproxy.conf /etc/supervisor/conf.d/
ADD ./supervisor/conf.d/webkit.conf /etc/supervisor/conf.d/
ADD ./supervisor/conf.d/restart.conf /etc/supervisor/conf.d/
ADD ./supervisor/conf.d/* /etc/supervisor/conf.d/
ADD ./monit/* /etc/monit/
EXPOSE 1024 9001
EXPOSE 1024 2812 9001
CMD /usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf