1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00
This commit is contained in:
kev 2014-12-25 18:50:18 +08:00
parent da36f0cefe
commit 9a37259bc4
2 changed files with 9 additions and 7 deletions

View File

@ -1,19 +1,21 @@
#
# Dockerfile for webkit
# Dockerfile for webkit/phantomjs
#
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/
RUN mkdir -p /webkit/includes/ /etc/supervisor/conf.d/ /etc/monit/conf.d/ /var/lib/monit/events/
ADD ./*.js ./includes /usr/local/lib/webkit/
ADD ./bin/* /usr/local/bin/
ADD ./*.js /webkit/
ADD ./includes/ /webkit/includes/
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/
ADD ./supervisor/conf.d/ /etc/supervisor/conf.d/
ADD ./monit/monitrc /etc/monit/
ADD ./monit/conf.d/ /etc/monit/conf.d/
RUN chmod 600 /etc/monit/monitrc

View File

@ -1,4 +1,4 @@
A simple web-service for rendering javascript-enabled website.
A simple web-service based on PhantomJS for rendering javascript-enabled website.
## server