1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-27 09:18:43 +00: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

@ -1,19 +1,21 @@
# #
# Dockerfile for webkit # Dockerfile for webkit/phantomjs
# #
FROM ubuntu:14.04 FROM ubuntu:14.04
MAINTAINER kev MAINTAINER kev
RUN apt-get update && apt-get install -y supervisor haproxy libfontconfig1 libfreetype6 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 ./*.js /webkit/
ADD ./bin/* /usr/local/bin/ ADD ./includes/ /webkit/includes/
ADD ./bin/ /usr/local/bin/
ADD ./haproxy.cfg /etc/haproxy/ ADD ./haproxy.cfg /etc/haproxy/
ADD ./supervisor/supervisord.conf /etc/supervisor/ ADD ./supervisor/supervisord.conf /etc/supervisor/
ADD ./supervisor/conf.d/* /etc/supervisor/conf.d/ ADD ./supervisor/conf.d/ /etc/supervisor/conf.d/
ADD ./monit/ /etc/monit/ ADD ./monit/monitrc /etc/monit/
ADD ./monit/conf.d/ /etc/monit/conf.d/
RUN chmod 600 /etc/monit/monitrc RUN chmod 600 /etc/monit/monitrc

@ -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 ## server