[build] Prepare new Docker setup
This commit is contained in:
parent
853be2a99c
commit
fa514a9d3e
5 changed files with 15 additions and 66 deletions
14
Dockerfile
Normal file
14
Dockerfile
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
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 build && cp .stack-work/
|
||||
|
||||
# Done!
|
||||
CMD /usr/bin/tazblog
|
||||
Loading…
Add table
Add a link
Reference in a new issue