aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorMichael Strùˆder <mikezter@gmail.com>2017-04-29 15:30:59 +0200
committerMichael Strùˆder <mikezter@gmail.com>2017-04-29 15:30:59 +0200
commitb6a310a42c65bc5f97c28db92c605363215716fe (patch)
tree502654f7c5e2db3bd543c7f5b58f41bb9012839e /Dockerfile
parent0a1ba3e148da5dc970af1542e4334ad0c635857b (diff)
symlink todo-list file to $HOME
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 12194dc..a6a6a4e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,6 +9,8 @@ RUN mkdir -p /src/github.com/gammons/
RUN go-wrapper download github.com/gammons/todolist
RUN go-wrapper install github.com/gammons/todolist
+RUN ln -s /.todos.json $HOME/.todos.json
+
CMD ["todolist", "web"]
EXPOSE 7890