about summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
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