From 5e7296e76dc75898ad7abc815b341702d51d349e Mon Sep 17 00:00:00 2001 From: Adam Dodman Date: Sun, 16 Jul 2017 23:56:01 +0100 Subject: [PATCH] Add Dockerfile --- Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..7354a8c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM alpine:3.6 + +MAINTAINER Adam Dodman <"adam.dodman@gmx.com"> + +ADD main.py /main.py + +RUN apk add --no-cache python3 py3-pip tini\ + && pip3 install requests configobj + +VOLUME ["/config"] + +CMD ["/sbin/tini","--","python3","main.py","-c","/config"]