diff --git a/splash/Dockerfile b/splash/Dockerfile new file mode 100644 index 0000000..ebdfbe5 --- /dev/null +++ b/splash/Dockerfile @@ -0,0 +1,9 @@ +# +# Dockerfile from splash +# + +FROM scrapinghub/splash +MAINTAINER kev + +ADD ./fonts/Songti.ttc /usr/local/share/fonts/ +RUN fc-cache /usr/local/share/fonts/ diff --git a/splash/docker-compose.yml b/splash/docker-compose.yml new file mode 100644 index 0000000..1a154f5 --- /dev/null +++ b/splash/docker-compose.yml @@ -0,0 +1,8 @@ +splash: + image: scrapinghub/splash + ports: + - "8050:8050" + - "8051:8051" + - "5023:5023" + mem_limit: 4G + restart: always diff --git a/splash/fonts/Songti.ttc b/splash/fonts/Songti.ttc new file mode 100644 index 0000000..3ccc999 Binary files /dev/null and b/splash/fonts/Songti.ttc differ