diff options
author | Santo Cariotti <sancn@live.com> | 2017-09-14 18:22:23 +0200 |
---|---|---|
committer | Santo Cariotti <sancn@live.com> | 2017-09-14 18:22:23 +0200 |
commit | 87efb422b03511c32b4f0087bac231a6c23b21d4 (patch) | |
tree | b5e40f8bdc3ae9988b8bb3ccda5c19dc7e217552 | |
parent | feb342c9f9db644bb55ce39d569022892831fa90 (diff) |
added docker
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Dockerfile | 6 | ||||
-rw-r--r-- | README.md | 9 |
3 files changed, 15 insertions, 1 deletions
@@ -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"] @@ -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) |