blob: 3d40218ab9bc79e1492e5d4811aa5255ceaedfc5 (
plain) (
tree)
|
|
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
|