[build] Prepare new Docker setup

This commit is contained in:
Vincent Ambo 2015-11-19 16:57:03 +01:00
parent 853be2a99c
commit fa514a9d3e
5 changed files with 15 additions and 66 deletions

14
Dockerfile Normal file
View file

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