about summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2015-11-19T15·57+0100
committerVincent Ambo <tazjin@gmail.com>2015-11-19T15·57+0100
commitfa514a9d3ef2f690294e8026679b83fad3588ab4 (patch)
treee29d7e205f2e175f608e46e5c751025d329c640f /Dockerfile
parent853be2a99c4f4cd8a75f807d37fb97ec1497215d (diff)
[build] Prepare new Docker setup
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 000000000000..098666934e27
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,14 @@
+FROM fpco/stack-build
+MAINTAINER Vincent Ambo <dev@tazj.in>
+
+# Base setup
+VOLUME /var/tazblog
+EXPOSE 8000
+
+# Build blog
+ADD . /opt/tazblog/src
+WORKDIR /opt/tazblog/src
+RUN stack build && cp .stack-work/
+
+# Done!
+CMD /usr/bin/tazblog