about summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2015-11-19T18·31+0100
committerVincent Ambo <tazjin@gmail.com>2015-11-19T18·31+0100
commitb38216c162a817862dceddd0a86ad60468d79c01 (patch)
tree16af788cebe058d52940341d91b1922cbf53410c /Dockerfile
parentfc0bfd470a2b915b193cf8a802a2688bd8a2a4e9 (diff)
Update Dockerfile slightly
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 3d40218ab9bc..73ab1057a2ef 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,12 +3,13 @@ MAINTAINER Vincent Ambo <dev@tazj.in>
 
 # Base setup
 VOLUME /var/tazblog
-EXPOSE 8000
+EXPOSE 8000 8070
+ENV PATH /root/.local/bin:$PATH
 
 # Build blog
-ADD . /opt/tazblog/src
-WORKDIR /opt/tazblog/src
+ADD . /opt/tazblog
+WORKDIR /opt/tazblog
 RUN stack install && cp /root/.local/bin/tazblog /usr/bin/tazblog
 
 # Done!
-CMD /usr/bin/tazblog
+CMD tazblog