about summary refs log blame commit diff
path: root/Dockerfile
blob: 3d40218ab9bc79e1492e5d4811aa5255ceaedfc5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                     
                                                                 


                    
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 install && cp /root/.local/bin/tazblog /usr/bin/tazblog

# Done!
CMD /usr/bin/tazblog