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
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM python:2-alpine
# Copyright (C) 2018 Mateusz Pawlowski <mateusz@generik.co.uk>

ADD . /app
WORKDIR /app

RUN pip install --editable .

CMD blockshell init

#vim: syntax=Dockerfile
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,19 @@ Step 7 - Try "blockshell" command and test installation!
blockshell
```

## Just use docker

after cloning, enter the blockshell directory

1. Build
```
docker build -t `basename $PWD` .
```
2. Run
```
docker run -it --rm `basename $PWD`
```


<b>Output in terminal after calling BlockShell command</b>
<img src="https://image.ibb.co/dRqGrw/Screen_Shot_2018_01_25_at_11_21_38_PM.png">