[build] Finish new Dockerfile

This commit is contained in:
Vincent Ambo 2015-11-19 17:53:05 +01:00
parent fa514a9d3e
commit f703c03916

View file

@ -8,7 +8,7 @@ EXPOSE 8000
# Build blog # Build blog
ADD . /opt/tazblog/src ADD . /opt/tazblog/src
WORKDIR /opt/tazblog/src WORKDIR /opt/tazblog/src
RUN stack build && cp .stack-work/ RUN stack install && cp /root/.local/bin/tazblog /usr/bin/tazblog
# Done! # Done!
CMD /usr/bin/tazblog CMD /usr/bin/tazblog