summary refs log tree commit diff
path: root/Dockerfile
blob: 73ab1057a2efbd0d986bb14282f92ca3cb3c2930 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM fpco/stack-build
MAINTAINER Vincent Ambo <dev@tazj.in>

# Base setup
VOLUME /var/tazblog
EXPOSE 8000 8070
ENV PATH /root/.local/bin:$PATH

# Build blog
ADD . /opt/tazblog
WORKDIR /opt/tazblog
RUN stack install && cp /root/.local/bin/tazblog /usr/bin/tazblog

# Done!
CMD tazblog