aboutsummaryrefslogtreecommitdiffstats
path: root/jekyll.docker
diff options
context:
space:
mode:
authorVeikka Kähkönen <veikka.kahkonen@aalto.fi>2017-09-25 15:56:43 +0300
committerVeikka Kähkönen <veikka.kahkonen@aalto.fi>2017-09-25 15:56:43 +0300
commit8b9fdd13beeca586cb2bf34e7abfb621708742fd (patch)
treea8b02fa893086af79963894ed34c21bb92047213 /jekyll.docker
parent5a568946dbd48900539567f4f385489c43f90d21 (diff)
Dockerize
Diffstat (limited to 'jekyll.docker')
-rw-r--r--jekyll.docker10
1 files changed, 10 insertions, 0 deletions
diff --git a/jekyll.docker b/jekyll.docker
new file mode 100644
index 0000000..ebb5518
--- /dev/null
+++ b/jekyll.docker
@@ -0,0 +1,10 @@
+FROM alpine
+MAINTAINER Your Name "your@name.com"
+
+RUN apk update
+RUN apk add ruby ruby-dev libffi-dev build-base
+RUN gem install jekyll json --no-doc --no-ri
+
+VOLUME ["/usr/share/nginx/html"]
+
+CMD ["jekyll", "build", "--source=/data/site-git", "--destination=/usr/share/nginx/html"]