From 87efb422b03511c32b4f0087bac231a6c23b21d4 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Thu, 14 Sep 2017 18:22:23 +0200 Subject: added docker --- .gitignore | 1 + Dockerfile | 6 ++++++ README.md | 9 ++++++++- 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 Dockerfile diff --git a/.gitignore b/.gitignore index 227cf83..1996fea 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /__pycache__ /lib/__pycache__ /lib/.data +/lib/*.pyc diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..1e713e7 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +FROM alpine:3.4 +RUN apk add --update \ + python3 +COPY . /app +WORKDIR /app +CMD ["python3", "lib/app.py"] diff --git a/README.md b/README.md index 2e7fee9..da9ec57 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,14 @@ Ok > (🍺 ) (santo) ``` -## Screenshots +## Docker + +```bash +docker build -t stout:latest . +docker run -i --name Stout stout:latest +``` + +## Screenshots (flask) ![photo1](screenshots/first.png) ![photo2](screenshots/second.png) -- cgit v1.2.3-18-g5258