Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM ubuntu:latest

RUN apt-get update && \
apt-get install -y \
build-essential

WORKDIR /srv/todo.txt

COPY . .

RUN make &&\
make install \
CONFIG_DIR=/etc \
INSTALL_DIR=/usr/bin \
BASH_COMPLETION=/usr/share/bash-completion/completions

CMD [ "tail", "-f", "/dev/null" ]
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ make install CONFIG_DIR=/etc INSTALL_DIR=/usr/bin BASH_COMPLETION=/usr/share/bas

https://aur.archlinux.org/packages/todotxt/

#### Docker

```
docker build . -t todo.txt:latest
docker run -d todo.txt:latest todo_txt
alias t='docker exec -it todo_txt todo.sh'
```

## Usage
```shell
Expand Down