From d53aff33036ae0ed417c4c414f251b623162c1dd Mon Sep 17 00:00:00 2001 From: Mateusz Pawlowski Date: Wed, 7 Feb 2018 12:04:33 +0000 Subject: [PATCH] Adding Dockerfile and instructions --- Dockerfile | 11 +++++++++++ README.md | 14 ++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5386cce --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM python:2-alpine +# Copyright (C) 2018 Mateusz Pawlowski + +ADD . /app +WORKDIR /app + +RUN pip install --editable . + +CMD blockshell init + +#vim: syntax=Dockerfile diff --git a/README.md b/README.md index eb724b3..300b9db 100644 --- a/README.md +++ b/README.md @@ -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` + ``` + + Output in terminal after calling BlockShell command