diff options
author | Vincent Ambo <tazjin@gmail.com> | 2015-11-19T18·31+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2015-11-19T18·31+0100 |
commit | b38216c162a817862dceddd0a86ad60468d79c01 (patch) | |
tree | 16af788cebe058d52940341d91b1922cbf53410c | |
parent | fc0bfd470a2b915b193cf8a802a2688bd8a2a4e9 (diff) |
Update Dockerfile slightly
-rw-r--r-- | Dockerfile | 9 |
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 |