summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <sancn@live.com>2017-09-14 18:22:23 +0200
committerSanto Cariotti <sancn@live.com>2017-09-14 18:22:23 +0200
commit87efb422b03511c32b4f0087bac231a6c23b21d4 (patch)
treeb5e40f8bdc3ae9988b8bb3ccda5c19dc7e217552
parentfeb342c9f9db644bb55ce39d569022892831fa90 (diff)
added docker
-rw-r--r--.gitignore1
-rw-r--r--Dockerfile6
-rw-r--r--README.md9
3 files changed, 15 insertions, 1 deletions
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)